set_route_guard('web').'/coin'], function () { Route::resource('coin', 'CoinResourceController'); }); // Public routes for coin Route::get('coin/popular/{period?}', 'CoinPublicController@popular'); Route::get('coins/', 'CoinPublicController@index'); Route::get('coins/{slug?}', 'CoinPublicController@show');