Route::group(['prefix' => 'backend', 'middleware' => 'auth'], function(){
Route::resource('/category', 'CategoryController');
});
Reference:
https://laracasts.com/discuss/channels/laravel/combined-route-group-with-prefix-and-auth-middleware?page=1
Comments
Post a Comment