Add a link to the admin panel in user menu
Hi,
I have 2 panels, one for customers and one for admins. I want to add a User Menu Item for the Admin panel if the user has access to it.
How do I do this?
I have 2 panels, one for customers and one for admins. I want to add a User Menu Item for the Admin panel if the user has access to it.
How do I do this?
Auth::user() gives me a null in the AdminPanelServiceProvider so I think it is evaluated before the user's session exists?