Hi,

I would like to add localisation to my app and I encountered strange
problem

match("(/:language)") do
  resources :articles
end

url(:article, 1) #=> /1/articles/1
url(:article, 1, :language => 'pl') #=> /pl/articles/1
url(:article, 'pl, 1) #=> /pl/articles/1

Is this normal behaviour?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to