* middleware from the list and add the overridden middleware at the end of the list. * As of now, this has been added in the Admin and Shop providers. I will look for a better approach in Laravel 11 ...
// Then: function() para registrar rutas que no sean api, web, etc. En este caso, para agregar la ruta personalizada admin.php then: function() { Route::middleware(['web', 'auth']) // El orden si ...