[icinga-checkins] icinga.org: icingaweb2-module-director/master: ObjectController: no "edit" tab, got to /<object>

git at icinga.org git at icinga.org
Sun Feb 28 18:23:27 CET 2016


Module: icingaweb2-module-director
Branch: master
Commit: 489fb661d982460dad7e12649436aaf993820154
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=489fb661d982460dad7e12649436aaf993820154

Author: Thomas Gelf <thomas at gelf.net>
Date:   Sun Feb 28 18:07:24 2016 +0100

ObjectController: no "edit" tab, got to /<object>

---

 library/Director/Web/Controller/ObjectController.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/Director/Web/Controller/ObjectController.php b/library/Director/Web/Controller/ObjectController.php
index 89c0952..edebafe 100644
--- a/library/Director/Web/Controller/ObjectController.php
+++ b/library/Director/Web/Controller/ObjectController.php
@@ -25,7 +25,7 @@ abstract class ObjectController extends ActionController
             $params['name'] = $object->object_name;
 
             $tabs = $this->getTabs()->add('modify', array(
-                'url'       => sprintf('director/%s/edit', $type),
+                'url'       => sprintf('director/%s', $type),
                 'urlParams' => $params,
                 'label'     => $this->translate(ucfirst($type))
             ));



More information about the icinga-checkins mailing list