Resources; how to rename nested url path?

Hi,

I've got some nested resources. I have a model called Feature, and FeatureRelation. When I created the standard routes for nesting (:has_many on Feature), I get a path like:

features/1234/feature_relations

What I'd like is:

features/1234/relations

Is this possible to do? I looked at the API and nothing jumped out at me indicating it is?!

Thanks, Matt

I don't believe so with :has_many, but I think that dropping back to less automation and do something like:

map.resource :features do | feature |    feature.resources :relations, :controller => "feature_relation" end

Instead of feature relation name it as relation

I have made a PATCH which would allow you to do just that.. http://dev.rubyonrails.org/ticket/10578