diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index e9fc320..3ce1860 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -5,7 +5,7 @@ "type": 2, "subtype": 1, "name": "Draw", - "uri": "/{/lang}/backend/draw/list?{?}", + "uri": "{/lang}/backend/draw/list?{?}", "target": "self", "icon": null, "order": 70, @@ -19,7 +19,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "/{/lang}/backend/draw/list?{?}", + "uri": "{/lang}/backend/draw/list?{?}", "target": "self", "icon": null, "order": 1, @@ -34,7 +34,7 @@ "type": 3, "subtype": 5, "name": "Create", - "uri": "/{/lang}/backend/draw/create?{?}", + "uri": "{/lang}/backend/draw/create?{?}", "target": "self", "icon": null, "order": 15, diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 9746fd9..e265a9b 100644 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -48,9 +48,9 @@ final class BackendController extends Controller { /** @var \phpOMS\Model\Html\Head $head */ $head = $response->get('Content')->getData('head'); - $head->addAsset(AssetType::JSLATE, '/Modules/Draw/Controller.js'); - $head->addAsset(AssetType::JSLATE, '/Modules/Draw/Models/DrawType.js'); - $head->addAsset(AssetType::JSLATE, '/Modules/Draw/Models/Editor.js'); + $head->addAsset(AssetType::JSLATE, 'Modules/Draw/Controller.js'); + $head->addAsset(AssetType::JSLATE, 'Modules/Draw/Models/DrawType.js'); + $head->addAsset(AssetType::JSLATE, 'Modules/Draw/Models/Editor.js'); } /** diff --git a/Theme/Backend/draw-create.tpl.php b/Theme/Backend/draw-create.tpl.php index da88ce5..d80861f 100644 --- a/Theme/Backend/draw-create.tpl.php +++ b/Theme/Backend/draw-create.tpl.php @@ -20,7 +20,7 @@ echo $this->getData('nav')->render(); ?>