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