group(function () { Route::get('profile/report/{report}', 'ProfileReportController'); Route::patch('profile/actions/{action}', 'ProfileActionsController'); Route::patch('profile/action/{profile}/{action}', 'ProfileActionController'); Route::patch('profile/workflow/{profile}/{transition}', 'ProfileWorkflowController'); Route::resource('profile', 'ProfileResourceController'); }); // Public routes for profile Route::get('profiles/', 'ProfilePublicController@index'); Route::get('profile/{slug?}', 'ProfilePublicController@show');