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


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.resources :members

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