Hi everyone, I would like to add the format and a custom field to all my restful resources, without touching my application (I don''t want to change all url_path to format_url_path to make things clear). For being more specific I want to add :format.:lang to my restful resources, so i can have /posts/1.html.en that map to the english page and /posts/1.html.it that map to the italian one. the lang variable is setted by session or cookies. The i18n part of my app is done, everything works. I just would like to have pretty urls, nice even for caching... Thank you a lot! -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---