set_route_guard('web').'/gift_card'], function () { Route::resource('gift_card', 'GiftCardResourceController'); }); // Public routes for gift_card Route::get('gift_card/popular/{period?}', 'GiftCardPublicController@popular'); Route::get('gift_cards/', 'GiftCardPublicController@index'); Route::get('gift_cards/{slug?}', 'GiftCardPublicController@show');