diff options
author | Michiel Sikkes <michiel.sikkes@gmail.com> | 2013-01-28 21:18:57 +0100 |
---|---|---|
committer | Michiel Sikkes <michiel.sikkes@gmail.com> | 2013-01-28 21:18:57 +0100 |
commit | f7277d99bf76e947fd404ac316eafeb993cc5bcd (patch) | |
tree | 2be2c71b5b82bf3e693e8f676906da407f464d5a /activesupport/test/ordered_options_test.rb | |
parent | c4bc360e4edcdf8b05e334582d4ab5bc41ed2abc (diff) | |
download | rails-f7277d99bf76e947fd404ac316eafeb993cc5bcd.tar.gz rails-f7277d99bf76e947fd404ac316eafeb993cc5bcd.tar.bz2 rails-f7277d99bf76e947fd404ac316eafeb993cc5bcd.zip |
Make current_url? work with a HEAD method
ActionDispatch::Head was removed in favor of Rack::Head. But Rack::Head
does not convert GET requests to HEAD requests so we need to do
checking for HEAD requests ourselves.
Diffstat (limited to 'activesupport/test/ordered_options_test.rb')
0 files changed, 0 insertions, 0 deletions