group(function () { Route::get('announcement/report/{report}', 'AnnouncementReportController'); Route::patch('announcement/actions/{action}', 'AnnouncementActionsController'); Route::patch('announcement/action/{announcement}/{action}', 'AnnouncementActionController'); Route::patch('announcement/workflow/{announcement}/{transition}', 'AnnouncementWorkflowController'); Route::resource('announcement', 'AnnouncementResourceController'); }); // Public routes for announcement Route::get('announcements/', 'AnnouncementPublicController@index'); Route::get('announcement/{slug?}', 'AnnouncementPublicController@show');