aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/admin/tree.php
diff options
context:
space:
mode:
authorThomas Hackl <hackl@data-quest.de>2026-01-29 10:24:59 +0100
committerThomas Hackl <hackl@data-quest.de>2026-01-29 10:24:59 +0100
commitb0a76fc3c24ec442fea7d57d010e3a5a5b54c37e (patch)
treeef66cc14900b01f1b8b823e01c5a6b12320c7d50 /app/controllers/admin/tree.php
parent506cb22fb4addfbaa6abca6fa1db806e08befc12 (diff)
Resolve "Fehlerhafte URLs bei der Verwaltung der Einrichtungshierarchie"
Closes #6204 Merge request studip/studip!4697
Diffstat (limited to 'app/controllers/admin/tree.php')
-rw-r--r--app/controllers/admin/tree.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/controllers/admin/tree.php b/app/controllers/admin/tree.php
index 5d22775..2d70494 100644
--- a/app/controllers/admin/tree.php
+++ b/app/controllers/admin/tree.php
@@ -16,9 +16,9 @@ class Admin_TreeController extends AuthenticatedController
Studip\VueApp::create('tree/StudipTree')
->withProps([
'breadcrumb-icon' => 'institute',
- 'create-url' => $this->createURL(),
- 'delete-url' => $this->deleteURL(),
- 'edit-url' => $this->editURL(),
+ 'create-url' => URLHelper::getURL('dispatch.php/admin/tree/create', [], true),
+ 'delete-url' => URLHelper::getURL('dispatch.php/admin/tree/delete', [], true),
+ 'edit-url' => URLHelper::getURL('dispatch.php/admin/tree/edit', [], true),
'editable' => true,
'semester' => $this->semester,
'show-structure-as-navigation' => true,
@@ -46,9 +46,9 @@ class Admin_TreeController extends AuthenticatedController
Studip\VueApp::create('tree/StudipTree')
->withProps([
'breadcrumb-icon' => 'literature',
- 'create-url' => $this->createURL(),
- 'delete-url' => $this->deleteURL(),
- 'edit-url' => $this->editURL(),
+ 'create-url' => URLHelper::getURL('dispatch.php/admin/tree/create', [], true),
+ 'delete-url' => URLHelper::getURL('dispatch.php/admin/tree/delete', [], true),
+ 'edit-url' => URLHelper::getURL('dispatch.php/admin/tree/edit', [], true),
'editable' => true,
'semester' => $this->semester,
'show-structure-as-navigation' => true,