We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6f0efe commit cf52b90Copy full SHA for cf52b90
1.0/routing/custom-actions.md
@@ -302,7 +302,7 @@ JsonApiRoute::server('v1')
302
$relationships->hasOne('author')->readOnly();
303
$relationships->hasMany('tags');
304
})->actions('-actions', function ($actions) {
305
- $actions->withId()->post('purge');
+ $actions->withId()->post('publish');
306
});
307
308
// ...other resources
2.0/routing/custom-actions.md
0 commit comments