fix error pages (#1209)

This commit is contained in:
Kevin Papst
2019-10-31 00:16:25 +01:00
committed by GitHub
parent f4fcfeba9d
commit 4331a7c9f4
5 changed files with 10 additions and 4 deletions

View File

@@ -7,7 +7,10 @@ home:
homeLocale:
path: /{_locale}
requirements:
_locale: '%app_locales%'
defaults:
_controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction
_locale: '%locale%'
route: homepage
permanent: true