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