Answer the question
In order to leave comments, you need to log in
How to avoid duplicate routes in localization?
<route id="login" methods="POST|GET" path="{_locale}/login" controller="LogInController::authenticate">
<requirement key="_locale">[a-z]{2}</requirement>
<default key="_locale">`%app.default_locale%`</default>
<route>
// нужен дубликат
<route id="login_default" methods="POST|GET" path="/login" controller="LogInController::authenticate"/>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question