View Question
Vote on questions you’d like to see answered by the expert contributors
Signup to ask questions or vote for the questions you’d like to see answered.
Signup
Hi Rizwan,
thanks for the great post on routing, it helped me a lot. And I have a small question.
What can I do to make it work with the german Umlaute? (e.g. ä,ö,ü)
match ‘:category/in/:city’ => ‘home#index’, :constraints => {:category => /(sänger|klavierspieler)/, :city => /(berlin|hamburg|münchen)/
thanks in advance
p.s. the example call is http://localhost:3000/klavierspieler/in/München
and leads to
Routing Error
No route matches “/klavierspieler/in/m%C3%BCnchen”
Asked July 05, 2010