admin: remove obsolet header => true tag + php code fix

This commit is contained in:
nobohan
2022-05-10 11:46:17 +02:00
parent 0e8b73638f
commit be27df1fd5
17 changed files with 30 additions and 39 deletions

View File

@@ -24,14 +24,6 @@ class AdminController extends AbstractController
return $this->render('@ChillMain/Admin/index.html.twig');
}
/**
* @Route("/{_locale}/admin/user", name="chill_main_user_admin")
*/
public function indexUserAction()
{
return $this->render('@ChillMain/Admin/indexUser.html.twig');
}
/**
* @Route("/{_locale}/admin/language", name="chill_main_language_admin")
*/
@@ -47,4 +39,12 @@ class AdminController extends AbstractController
{
return $this->render('@ChillMain/Admin/indexLocation.html.twig');
}
/**
* @Route("/{_locale}/admin/user", name="chill_main_user_admin")
*/
public function indexUserAction()
{
return $this->render('@ChillMain/Admin/indexUser.html.twig');
}
}