set_route_guard('web').'/icon'], function () { Route::resource('icon', 'IconResourceController'); }); // Public routes for icon Route::get('icon/popular/{period?}', 'IconPublicController@popular'); Route::get('icons/', 'IconPublicController@index'); Route::get('icons/{slug?}', 'IconPublicController@show');