diff --git a/Admin/Routes/Web/Api.php b/Admin/Routes/Web/Api.php index a054d0e..dc83496 100755 --- a/Admin/Routes/Web/Api.php +++ b/Admin/Routes/Web/Api.php @@ -159,7 +159,7 @@ return [ ], ], - '^.*/wiki/category/l11n$' => [ + '^.*/wiki/category/l11n(\?.*|$)$' => [ [ 'dest' => '\Modules\Knowledgebase\Controller\ApiController:apiWikiCategoryL11nCreate', 'verb' => RouteVerb::PUT, diff --git a/Controller/ApiController.php b/Controller/ApiController.php index cdadae9..f9038f0 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -55,6 +55,10 @@ final class ApiController extends Controller * * @api * + * @question Consider to use the Editor module for the content instead of handling + * the content separately in the wiki module. + * https://github.com/Karaka-Management/oms-Knowledgebase/issues/7 + * * @since 1.0.0 */ public function apiWikiDocCreate(RequestAbstract $request, ResponseAbstract $response, array $data = []) : void