Hi, What kind of edition can we do to add a language parameter in thoses routes:
ActionController::Routing::Routes.draw do |map| map.resource :user_session map.resources :users map.resources :posts, :has_many => :comments end For example, if the current language is english, http://localhost:3000/posts should become: http://localhost:3000/en/posts And http://localhost:3000/posts/1/comments/1 should become: http://localhost:3000/en/posts/1/comments/1 If possible, this new parameter should not modify my current paths, such as posts_path. Thanks for any ideas! Denis -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---