One of my plugins has this feature and I call it :opaque_name. I chose 'opaque' because to me, that's exactly what it is - a name that doesn't let you "see through" to the underlying resource naming structure.
map.resources :tutors, :opaque_name => :tutores tutors_path() => /tutores Regards, Trevor On 1/26/08, Mislav Marohnić <[EMAIL PROTECTED]> wrote: > > On Jan 26, 2008 12:56 PM, blj <[EMAIL PROTECTED]> wrote: > > > > > <http://dev.rubyonrails.org/ticket/10578>People liked the patch but were > > wondering what the key should be > > called as? > > > > :path_replace (original patch) > > :path_substitute (current patch) > > :path (apparently would confuse) > > > We're changing the name of the resource in the URL, right? So why not call > the option: > > :path_name > > The symbol suggests: "change the name of this resource as it appears in > the URL path". > > > > -- -- Trevor Squires http://somethinglearned.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
