On Jan 27, 2008, at 4:41 PM, Trek Glowacki wrote: > I'd just suggest letting :other_name (or whatever the correct term > shakes out to be) take an array > > map.resources :people, :other_names => ['folks', 'gentes','personoj'] > do |person| > person.resources :comments > end
If there's one choice products_path generates /productos always. Having an array implies being able to select its elements in named routes. I don't know whether such generality responds to a real need and it's worth the trouble, but in any case I'd like to point out it is not enough, it would need perhaps a hash so that you can say projects_path(:es). -- fxn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
