Skip to content
New issue

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

collection route is not localized #39

Open
tilsammans opened this issue Nov 29, 2012 · 1 comment
Open

collection route is not localized #39

tilsammans opened this issue Nov 29, 2012 · 1 comment

Comments

@tilsammans
Copy link

According to the documentation, this should work. In config/routes.rb:

localized do
  resources :films do
    collection do
      get :all
    end
  end
end

The 'all' collection is not localized when I use this YAML:

nl:
  routes:
    films:
      as: "bios"
      path_names:
        all: "allemaal"

i18n_routing version 0.6.2 with Rails 3.2.9. The 'films' collection itself is localized properly.

How can I localize the collection path?

@ghost
Copy link

ghost commented Mar 28, 2014

same for me..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant