diff --git a/3.0/routing/custom-actions.md b/3.0/routing/custom-actions.md index f30da63..5ea760e 100644 --- a/3.0/routing/custom-actions.md +++ b/3.0/routing/custom-actions.md @@ -304,7 +304,7 @@ JsonApiRoute::server('v1') $relationships->hasOne('author')->readOnly(); $relationships->hasMany('tags'); })->actions('-actions', function (ActionRegistrar $actions) { - $actions->withId()->post('purge'); + $actions->withId()->post('publish'); }); // ...other resources