group(function () { Route::patch('feature/actions/{action}', 'FeatureActionsController'); Route::patch('feature/action/{feature}/{action}', 'FeatureActionController'); Route::patch('feature/workflow/{feature}/{transition}', 'FeatureWorkflowController'); Route::resource('feature', 'FeatureResourceController'); }); // Public routes for feature Route::get('features/', 'FeaturePublicController@index'); Route::get('feature/{slug?}', 'FeaturePublicController@show');