This project is archived and is in readonly mode.

#1316 ✓invalid
Seth Ladd

resources :collection and :member should allow multiple http methods per action

Reported by Seth Ladd | November 2nd, 2008 @ 10:06 PM | in 2.x

Hello,

When setting up a route that uses :member or :collection, it should be possible to specify multiple allowed HTTP methods per action.

For instance, this should be possible:

map.resources :accounts, :member => {:plan => [:get, :post]}

Notice the :get and :post is allowed for :plan.

Thanks, Seth

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>

People watching this ticket

Pages