mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
parent
497e184eeb
commit
dbae055e8e
@ -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…
x
Reference in New Issue
Block a user