Skip to content

generate_unlocalized_routes generates duplicates #16

Closed
wmadden opened this Issue Mar 27, 2013 · 1 comment

2 participants

@wmadden
wmadden commented Mar 27, 2013

Setting route_translator.generate_unlocalized_routes = true creates duplicates of each route in each locale, e.g.

student_questions_en GET    /en/student/questions(.:format)    student/questions#index {:locale=>"en"}
student_questions_en GET    /en/student/questions(.:format)    student/questions#index {:locale=>"en"}
student_questions_de GET    /de/student/questions(.:format)    student/questions#index {:locale=>"de"}
student_questions_de GET    /de/student/questions(.:format)    student/questions#index {:locale=>"de"}
   student_questions GET    /student/questions(.:format)       student/questions#index
   student_questions GET    /student/questions(.:format)       student/questions#index
@enriclluelles
Owner

Could you please post your routes.rb file contents here so I can reproduce?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.