set_route_guard('web').'/categories_detail'], function () { Route::resource('categories_details', 'CategoriesDetailsResourceController'); }); // Public routes for categories_details Route::get('categories_details/popular/{period?}', 'CategoriesDetailsPublicController@popular'); Route::get('categories_details/', 'CategoriesDetailsPublicController@index'); Route::get('categories_details/{slug?}', 'CategoriesDetailsPublicController@show');