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