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