set_route_guard('web').'/expense'], function () { Route::resource('expenses', 'ExpensesResourceController'); }); // Public routes for expenses Route::get('expenses/popular/{period?}', 'ExpensesPublicController@popular'); Route::get('expenses/', 'ExpensesPublicController@index'); Route::get('expenses/{slug?}', 'ExpensesPublicController@show');