Problems with urls at Laravel 11
I have been having problems for a few days regarding access to routes defined for my middlewares. The specific problem with all this is that when, for example, I want to enter a URL of my entity other than Users, it always returns me to the home page, regardless of the user role that the logged-in user has. I leave important parts of the code here in case someone knows why it could be: