We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems that passing the ":include_default_locale => false" parameter in routes.rb has no effect (ie. include_default_locale is always true).
In routes.rb, what does not work : filter :locale, :include_default_locale => false (maybe it is not the way it should be done)
Workaround (set the attribute directly): filter :locale RoutingFilter::Locale.include_default_locale = false
So, maybe the problem is : how to set the include_default_locale attribute.
The text was updated successfully, but these errors were encountered:
Set it in an initializer, thats how I do it.
Sorry, something went wrong.
No branches or pull requests
It seems that passing the ":include_default_locale => false" parameter in routes.rb has no effect (ie. include_default_locale is always true).
In routes.rb, what does not work :
filter :locale, :include_default_locale => false
(maybe it is not the way it should be done)
Workaround (set the attribute directly):
filter :locale
RoutingFilter::Locale.include_default_locale = false
So, maybe the problem is : how to set the include_default_locale attribute.
The text was updated successfully, but these errors were encountered: