'{trans}', 'where' => ['trans' => Trans::keys('|')], ], function () { include('routes.php'); } ); } // Workflow routes for property Route::prefix('{guard}/property')->group(function () { Route::get('/workflow/{property}/{user}', 'PropertyWorkflowController@get') ->name('litecms.property.workflow'); Route::post('/workflow/{property}/{user}', 'PropertyWorkflowController@post'); Route::get('/action/{property}/{user}', 'PropertyActionController@get') ->name('litecms.property.action'); Route::post('/action/{property}/{user}', 'PropertyActionController@post'); }); // Workflow routes for listing_category Route::prefix('{guard}/listing_category')->group(function () { Route::get('/action/{listing_category}/{user}', 'ListingCategoryActionController@get') ->name('litecms.property.action'); Route::post('/action/{listing_category}/{user}', 'ListingCategoryActionController@post'); });