set_route_guard('web').'/pagedatum'], function () { Route::resource('pagedata', 'PagedataResourceController'); }); // Public routes for pagedata Route::get('pagedata/popular/{period?}', 'PagedataPublicController@popular'); Route::get('pagedatas/', 'PagedataPublicController@index'); Route::get('pagedatas/{slug?}', 'PagedataPublicController@show');