set_route_guard('web').'/buyadetail'], function () { Route::resource('buyadetails', 'BuyadetailsResourceController'); }); // Public routes for buyadetails Route::get('buyadetails/popular/{period?}', 'BuyadetailsPublicController@popular'); Route::get('buyadetails/', 'BuyadetailsPublicController@index'); Route::get('buyadetails/{slug?}', 'BuyadetailsPublicController@show');