set_route_guard('web').'/comapnydatum'], function () { Route::resource('company_data', 'CompanyDataResourceController'); }); // Public routes for company_data Route::get('company_data/popular/{period?}', 'CompanyDataPublicController@popular'); Route::get('comapnydatas/', 'CompanyDataPublicController@index'); Route::get('comapnydatas/{slug?}', 'CompanyDataPublicController@show');