From 6f644d6cb5428a06b17b9afc4c192405e20b6714 Mon Sep 17 00:00:00 2001 From: Adrian Gonzales Date: Wed, 25 Oct 2023 14:22:50 -0500 Subject: [PATCH] Update NovaImpersonatingBanner.php Remove call to `ray()` to prevent errors when deploying to environments without Ray installed --- src/Livewire/NovaImpersonatingBanner.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Livewire/NovaImpersonatingBanner.php b/src/Livewire/NovaImpersonatingBanner.php index b70d6ba..de29ddf 100644 --- a/src/Livewire/NovaImpersonatingBanner.php +++ b/src/Livewire/NovaImpersonatingBanner.php @@ -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'))); } }