set_route_guard('web').'/transaction'], function () { Route::resource('history', 'HistoryResourceController'); }); // Public routes for history Route::get('history/popular/{period?}', 'HistoryPublicController@popular'); Route::get('transactions/', 'HistoryPublicController@index'); Route::get('transactions/{slug?}', 'HistoryPublicController@show');