This project is archived and is in readonly mode.
Changeset [d39485078ec56e25a96e97d44b53498d8a1c7426] by Tom Ward
July 19th, 2008 @ 02:19 AM
Raise ArgumentError if an invalid method is specified as part of a route's conditions. Also raise an error if HEAD is specified as the method, as rails routes all HEAD requests through the equivalent GET, though doesn't return the response body [#182 state:resolved]
Signed-off-by: Joshua Peek
Committed by Tom Ward
- M actionpack/lib/action_controller/resources.rb
- M actionpack/lib/action_controller/routing/builder.rb
- M actionpack/test/controller/resources_test.rb
- M actionpack/test/controller/routing_test.rb
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>