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
If you have regex controllers it won't work because on line 43 will try to compare a regex against other regex.
https://github.com/padrino/padrino-contrib/blob/master/lib/padrino-contrib/auto_locale.rb
The text was updated successfully, but these errors were encountered:
Mmm nice catch ... any ideas to solve it?
Sorry, something went wrong.
Instead of having the url and padrino_route_added method, can't you just change the request.path_info before being evaluated by the controllers?
On line 36 adding something like request.path_info.sub(//#{I18n.locale}/, "/")
@DAddYE thoughts?
No branches or pull requests
If you have regex controllers it won't work because on line 43 will try to compare a regex against other regex.
https://github.com/padrino/padrino-contrib/blob/master/lib/padrino-contrib/auto_locale.rb
The text was updated successfully, but these errors were encountered: