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