You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Symfony allows configuring the auto-prefixing of all routes with a list of locales. But sometimes, while the vast majority of URLs should be localized, some of them should be neutral and avoid auto-prefixing.
The suggestion is to allow defining explicit exclusion of routes from auto-prefixing with the new Route attribute locale value: false:
Description
Symfony allows configuring the auto-prefixing of all routes with a list of locales. But sometimes, while the vast majority of URLs should be localized, some of them should be neutral and avoid auto-prefixing.
The suggestion is to allow defining explicit exclusion of routes from auto-prefixing with the new
Route
attributelocale
value:false
:With this patch, I'm able to configure routes like this:
This allows the route to be excluded from auto-prefixing and remain as-is.
Example
No response
The text was updated successfully, but these errors were encountered: