set_route_guard('web').'/source'], function () { Route::resource('source', 'SourceResourceController'); }); // Public routes for source Route::get('source/popular/{period?}', 'SourcePublicController@popular'); Route::get('sources/', 'SourcePublicController@index'); Route::get('sources/{slug?}', 'SourcePublicController@show');