set_route_guard('web').'/team'], function () { Route::resource('teams', 'TeamsResourceController'); }); // Public routes for teams Route::get('teams/popular/{period?}', 'TeamsPublicController@popular'); Route::get('teams/', 'TeamsPublicController@index'); Route::get('teams/{slug?}', 'TeamsPublicController@show');