index: Don't drop query parameters when redirecting to dashboard

This commit is contained in:
Eric Lippmann 2014-10-20 13:27:33 +02:00
parent 5ca97c14d6
commit a2e1663e34

View File

@ -19,7 +19,7 @@ class IndexController extends ActionController
public function preDispatch() public function preDispatch()
{ {
if ($this->getRequest()->getActionName() !== 'welcome') { if ($this->getRequest()->getActionName() !== 'welcome') {
$this->redirectNow('dashboard'); $this->redirectNow(Url::fromRequest()->setPath('dashboard'));
} }
} }