This project is archived and is in readonly mode.
Changeset [d39485078ec56e25a96e97d44b53498d8a1c7426] by Tom Ward
Revision d39485078ec56e25a96e97d44b53498d8a1c7426,
committed 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
4 changed files
-
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