ADding back the delete url

parent c4930368
......@@ -18,6 +18,9 @@ class PageTransformer extends Resource
'slug' => optional($this->translate(locale()))->slug,
'status' => optional($this->translate(locale()))->status,
],
'urls' => [
'delete_url' => route('api.page.page.destroy', $this->id),
],
];
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment