force redirect to app_protocol
This commit is contained in:
@ -11,7 +11,10 @@ class HomeController extends AbstractController
|
||||
{
|
||||
public function home()
|
||||
{
|
||||
return $this->redirectToRoute("app_login");
|
||||
if($this->getUser())
|
||||
return $this->redirectToRoute("app_scrum");
|
||||
else
|
||||
return $this->redirectToRoute("app_login");
|
||||
}
|
||||
|
||||
public function admin()
|
||||
|
Reference in New Issue
Block a user