浏览代码

minor fixes

Olivier Massot 4 年之前
父节点
当前提交
05c5504152
共有 2 个文件被更改,包括 1 次插入5 次删除
  1. 1 0
      ot_admin/Classes/Http/ApiController.php
  2. 0 5
      ot_admin/Configuration/Backend/Routes.php

+ 1 - 0
ot_admin/Classes/Http/ApiController.php

@@ -266,6 +266,7 @@ class ApiController implements LoggerAwareInterface
     /**
      * -- Target of the route 'site_setdomain' --
      * >> Requires a query param named 'organization-id' (int)
+     *    and a parameter named 'domain' (string)
      *
      * Set a new domain for the organization website
      *

+ 0 - 5
ot_admin/Configuration/Backend/Routes.php

@@ -42,11 +42,6 @@ return [
         'target' => ApiController::class . '::resetBeUserPermsAction',
         'access' => 'public'
     ],
-    'site_index' => [
-        'path' => '/otadmin/site/index',
-        'target' => ApiController::class . '::updateRoutingIndexAction',
-        'access' => 'public'
-    ],
     'site_status' => [
         'path' => '/otadmin/site/status',
         'target' => ApiController::class . '::getSiteStatusAction',