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