set_route_guard('web').'/coupanfield'], function () { Route::resource('coupanfields', 'CoupanfieldsResourceController'); }); // Public routes for coupanfields Route::get('coupanfields/popular/{period?}', 'CoupanfieldsPublicController@popular'); Route::get('coupanfields/', 'CoupanfieldsPublicController@index'); Route::get('coupanfields/{slug?}', 'CoupanfieldsPublicController@show');