浏览代码

fix api route

Olivier Massot 1 年之前
父节点
当前提交
aa120e160e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ot_admin/Configuration/Backend/Routes.php

+ 1 - 1
ot_admin/Configuration/Backend/Routes.php

@@ -58,7 +58,7 @@ return [
         'access' => 'public'
     ],
     'delete-user-created-pages' => [
-        'path' => '/otadmin/delete-user-created-pages',
+        'path' => '/otadmin/site/delete-user-created-pages',
         'target' => ApiController::class . '::deleteUserCreatedPagesAction',
         'access' => 'public'
     ]