mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
Add TODO in the IndexController: Avoid landing page redirects
refs #9656
This commit is contained in:
parent
46333f82e9
commit
af8949dde2
@ -17,6 +17,7 @@ class IndexController extends ActionController
|
|||||||
public function preDispatch()
|
public function preDispatch()
|
||||||
{
|
{
|
||||||
if ($this->getRequest()->getActionName() !== 'welcome') {
|
if ($this->getRequest()->getActionName() !== 'welcome') {
|
||||||
|
// @TODO(el): Avoid landing page redirects: https://dev.icinga.org/issues/9656
|
||||||
$this->redirectNow(Url::fromRequest()->setPath('dashboard'));
|
$this->redirectNow(Url::fromRequest()->setPath('dashboard'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user