mirror of https://github.com/joomla/joomla-cms.git
parent
96ebe540db
commit
ca80fc07b3
|
@ -59,7 +59,6 @@ final class Privacy extends CMSPlugin
|
|||
$routes = [
|
||||
new Route(['GET'], 'v1/privacy/consents', 'consents.displayList', [], $getDefaults),
|
||||
new Route(['GET'], 'v1/privacy/consents/:id', 'consents.displayItem', ['id' => '(\d+)'], $getDefaults),
|
||||
new Route(['DELETE'], 'v1/privacy/consents/:id', 'consents.delete', ['id' => '(\d+)'], $defaults),
|
||||
];
|
||||
|
||||
$router->addRoutes($routes);
|
||||
|
|
Loading…
Reference in New Issue