map.resources custom url?

Hey all, I have the following route which nests a has_many :through association:

map.resources :groups do |group|

group.resources :enrollments

end

With that I can hit urls like: /groups/1/enrollments

While this works, the url sounds rather utilitarian (probably should have thought about that when naming). Anyway, my question is, is there a param I can pass to group.resources specify a custom name for that piece in the url?

/groups/1/members

Thanks,

Nathan

groups.resources :members

http://rails.rubyonrails.org/classes/ActionController/Resources.html

There is a :controller option if you still want to use the enrollments
controller.