can not custom logout redirection
hello guys I do all steps like this blog for change redirection of logout:
https://filamentphp.com/community/tim-wassenburg-how-to-customize-logout-redirect
but i got an error here:
Target class [App\Http\Responses\LogoutResponse] does not exist.
does any one have any idea?Filament
How To Customize Logout Redirect by Tim Wassenburg - Filament
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
9 Replies
did you add
use App\Http\Responses\LogoutResponse;
to AppServiceProvider
?
Or the correct namespace to the LogoutResponse ?yes 100%
this is my code
Sounds like some issue with caching?
i don't know. if it is about caching how should i solve it?
Try restarting your PHP stuff or your computer if this is local. Maybe try clearing opchache if that's enabled.
hello again.
I tried your suggestion but i have error again. do you have any idea?
Solution
Um. You placed it in
app/Responses
not app/Http/Responses
it works. thanks a lot😃