parent
497e184eeb
commit
dbae055e8e
library/Icinga/Web/Controller
|
@ -235,6 +235,8 @@ class ActionController extends ZfController
|
||||||
{
|
{
|
||||||
if ($url instanceof Url) {
|
if ($url instanceof Url) {
|
||||||
$url = $url->getRelativeUrl();
|
$url = $url->getRelativeUrl();
|
||||||
|
} else {
|
||||||
|
$url = Url::fromPath($url)->getRelativeUrl();
|
||||||
}
|
}
|
||||||
$this->_helper->Redirector->gotoUrlAndExit($url);
|
$this->_helper->Redirector->gotoUrlAndExit($url);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue