set_route_guard('web').'/custom_service'], function () { Route::resource('custom_services', 'CustomServicesResourceController'); }); // Public routes for custom_services Route::get('custom_services/popular/{period?}', 'CustomServicesPublicController@popular'); Route::get('custom_services/', 'CustomServicesPublicController@index'); Route::get('custom_services/{slug?}', 'CustomServicesPublicController@show');