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