This project is archived and is in readonly mode.

#1218 ✓committed
Nicolas Blanco

[PATCH] :path_names could be used to customize collection actions too

Reported by Nicolas Blanco | October 15th, 2008 @ 02:47 PM | in 2.3.4

For now :path_names is used to customize member actions in resources routing.

Is there a good reason it is not used to customize collection actions too?

I've tested on a simple project with rails edge frozen to copy/paste the two lines from map_member_actions that read the action_path from :path_names to map_collection_actions and it seems to work well.

I think I'll test this later and make a small patch.

Thanks. Nicolas.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>