'{trans}', 'where' => ['trans' => Trans::keys('|')], ], function () { include('routes.php'); } ); } // Workflow routes for year Route::prefix('{guard}/year')->group(function () { Route::get('/action/{year}/{user}', 'YearActionController@get') ->name('litecms.company.action'); Route::post('/action/{year}/{user}', 'YearActionController@post'); }); // Workflow routes for master Route::prefix('{guard}/master')->group(function () { Route::get('/action/{master}/{user}', 'MasterActionController@get') ->name('litecms.company.action'); Route::post('/action/{master}/{user}', 'MasterActionController@post'); });