Linked Questions

Popular Questions

Laravel nova - redirect from Dashboard

Asked by At

I would like to remove dashboard from my Laravel Nova app.

I found it easy to remove it from sidebar-menu - simply comment /views/dashboard/navigation.blade.php code.

However, I want to add a redirection logic (landing page depends on user role) so when navigating to / user will be redirected to a resource or tool which corresponds him.

(I have already implemented a redirection after login (https://stackoverflow.com/a/54345123/1039488)

I tried to do it with cards, but looks like this is not the right solution.

Any idea where can I place the redirection logic?

Related Questions