Add TODO in the IndexController: Avoid landing page redirects

refs #9656
This commit is contained in:
Eric Lippmann 2015-08-27 13:32:35 +02:00
parent 46333f82e9
commit af8949dde2
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ class IndexController extends ActionController
public function preDispatch()
{
if ($this->getRequest()->getActionName() !== 'welcome') {
// @TODO(el): Avoid landing page redirects: https://dev.icinga.org/issues/9656
$this->redirectNow(Url::fromRequest()->setPath('dashboard'));
}
}