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
@guiocavalcanti I was yet unable to find the time to look into it, but I intend to investigate the gem in December. Anything you can bring up in the meantime will be of help!
Workaround: In my set_locale before_filter, I ensure that `I18n.locale' is only set to locales that are actually defined in the routes.yml.
However, it appears more logical to have rails-translate-routes work nicely with any I18n.locale - even if translations for the URL path are unavailable.
@francesc can you help us to further investigate that issue?
It seems that under certain circumstances an inexistant URL is called.
The line in the controller looks like this:
redirect_to mymodel_url(@mymodel_instance), :status => 301
Somehow it seems, rails-translate-routes is translating that to mymodel_zh_url which is unavailable.
The full backtrace:
The text was updated successfully, but these errors were encountered: