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
Given a nested route like this:
localized do resources :users do resources :videos end end
with a path_name translation key
locale: routes: users: path_names: new: translated_new
path_names.new is wrongly recognized as belonging to videos and the new path segment for new_user_path is not translated.
Workaround: removing the nested resource and adding an extra block:
localized do resources :users end resources :users do localized do resources :videos end end
However, this is not very clean and I also don't know where to store the translations for the nested videos resource.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given a nested route like this:
with a path_name translation key
path_names.new is wrongly recognized as belonging to videos and the
new path segment for new_user_path is not translated.
Workaround: removing the nested resource and
adding an extra block:
However, this is not very clean and I also don't know where to store
the translations for the nested videos resource.
The text was updated successfully, but these errors were encountered: