Laravel - Include assets on Middleware Auth
问题 Inside my app, exist a route group called admin , any route inside this group call two resources: public/css/admin.css and public/js/admin.js , but any unauthenticated user has access to these files. How can I include these files inside the Auth Middleware? My admin routes: Route::group(['prefix' => 'admin', 'middleware' => ['auth']], function () { Route::get('/', 'Admin\IndexController@index')->name('panel'); Route::group(['prefix' => 'users'], function() {}); Route::group(['prefix' =>