'{trans}', 'where' => ['trans' => Trans::keys('|')], ], function () { include('routes.php'); } ); } // Workflow routes for enquiry Route::prefix('{guard}/enquiry')->group(function () { Route::get('/workflow/{enquiry}/{user}', 'EnquiryWorkflowController@get') ->name('enquiry.enquiry.workflow'); Route::post('/workflow/{enquiry}/{user}', 'EnquiryWorkflowController@post'); Route::get('/action/{enquiry}/{user}', 'EnquiryActionController@get') ->name('enquiry.enquiry.action'); Route::post('/action/{enquiry}/{user}', 'EnquiryActionController@post'); }); // Workflow routes for cost Route::prefix('{guard}/cost')->group(function () { Route::get('/workflow/{cost}/{user}', 'CostWorkflowController@get') ->name('enquiry.cost.workflow'); Route::post('/workflow/{cost}/{user}', 'CostWorkflowController@post'); Route::get('/action/{cost}/{user}', 'CostActionController@get') ->name('enquiry.cost.action'); Route::post('/action/{cost}/{user}', 'CostActionController@post'); });