diff --git a/library/Icinga/Web/Controller/ActionController.php b/library/Icinga/Web/Controller/ActionController.php index c0395a4ce..5698de2d0 100755 --- a/library/Icinga/Web/Controller/ActionController.php +++ b/library/Icinga/Web/Controller/ActionController.php @@ -235,6 +235,8 @@ class ActionController extends ZfController { if ($url instanceof Url) { $url = $url->getRelativeUrl(); + } else { + $url = Url::fromPath($url)->getRelativeUrl(); } $this->_helper->Redirector->gotoUrlAndExit($url); }