This project is archived and is in readonly mode.

#407 ✓resolved
Brennan Dunn

Accept arrays of symbols as values for collection/member actions of resources

Reported by Brennan Dunn | June 13th, 2008 @ 03:42 PM

This will allow the values of collection/member hashes within a resource definition to be arrays of symbols. This is an alternative to supplying :any if a particular action needs, for instance, to be able to respond to a GET or POST request.

map.resources :messages, :collection => { :search => [:get, :post] }

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>