set_route_guard('web').'/office'], function () { Route::resource('office', 'OfficeResourceController'); }); // Public routes for office Route::get('office/popular/{period?}', 'OfficePublicController@popular'); Route::get('offices/', 'OfficePublicController@index'); Route::get('offices/{slug?}', 'OfficePublicController@show');