Skip to content

Commit

Permalink
Update NovaImpersonatingBanner.php
Browse files Browse the repository at this point in the history
Remove call to `ray()` to prevent errors when deploying to environments without Ray installed
  • Loading branch information
adriangonzales authored Oct 25, 2023
1 parent 032cf75 commit 6f644d6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Livewire/NovaImpersonatingBanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ public function stopImpersonating()
app(ImpersonatesUsers::class)
->stopImpersonating(request(), Auth::guard('web'), User::class);

ray('stopImpersonating');

return redirect(config('nova.impersonation.stopped', request()->header('Referer')));
}
}

0 comments on commit 6f644d6

Please sign in to comment.