Hello All,

How to make rails unescape incoming urls? I want to use russian chars
in routes, like:

map.city URI.escape("/Карта--:title--:id"), :controller =>
"cities", :action => "show" It seems to works (page loads) but all
links on page looks like this:
http://localhost/%25D0%259A%25D0%25B0%25D1%2580%25D1%2582%25D0%25B0--%D0%9A%D0%B8%D0%B5%D0%B2--30295?page=4

Rails double escapes url?

Also I tried url_for(.... :escape => false), it doesn't help.

Thanks in advance,
Eduard

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to