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