diff options
author | Tom Ward <tom@popdog.net> | 2008-07-18 20:19:03 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-07-18 20:19:03 -0500 |
commit | d39485078ec56e25a96e97d44b53498d8a1c7426 (patch) | |
tree | 6c7a23d8c91536a8e79d38372d710baffc42c8d2 /actionpack/lib/actionpack.rb | |
parent | c3d1fda555c4bd5f8821d830c685ae5d0e7e52d0 (diff) | |
download | rails-d39485078ec56e25a96e97d44b53498d8a1c7426.tar.gz rails-d39485078ec56e25a96e97d44b53498d8a1c7426.tar.bz2 rails-d39485078ec56e25a96e97d44b53498d8a1c7426.zip |
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 <josh@joshpeek.com>
Diffstat (limited to 'actionpack/lib/actionpack.rb')
0 files changed, 0 insertions, 0 deletions