group(function () { Route::patch('ad/actions/{action}', 'AdActionsController'); Route::patch('ad/action/{ad}/{action}', 'AdActionController'); Route::patch('ad/workflow/{ad}/{transition}', 'AdWorkflowController'); Route::resource('ad', 'AdResourceController'); }); // Public routes for ad Route::get('ads/', 'AdPublicController@index'); Route::get('ad/{slug?}', 'AdPublicController@show');