From 2c97d4ddded95700c0316611bccc8efc6a98a7cb Mon Sep 17 00:00:00 2001 From: Vladimir Malik Date: Tue, 21 Jan 2020 10:20:28 +0300 Subject: [PATCH] Fixed delete route for alternate configuration --- .../Resources/public/js/config/panel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Elements/Bundle/AlternateObjectTreesBundle/Resources/public/js/config/panel.js b/src/Elements/Bundle/AlternateObjectTreesBundle/Resources/public/js/config/panel.js index 2a3dfce..c4b134f 100644 --- a/src/Elements/Bundle/AlternateObjectTreesBundle/Resources/public/js/config/panel.js +++ b/src/Elements/Bundle/AlternateObjectTreesBundle/Resources/public/js/config/panel.js @@ -229,7 +229,7 @@ pimcore.plugin.alternateObjectTrees.config.panel = Class.create({ deleteField: function (view, model) { Ext.Ajax.request({ - url: "/admin/elements-alternate-object-trees/delete-alternate-object-tree", + url: "/admin/elements-alternate-object-trees/alternate-object-tree", method: "DELETE", params: { id: model.get('id')