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