diff options
author | Terence Sun <tsun1215@gmail.com> | 2015-01-31 19:15:42 -0800 |
---|---|---|
committer | Terence Sun <tsun1215@gmail.com> | 2015-02-08 12:03:56 -0500 |
commit | b9c63b0aae7a7f9ddf32e155b11a51bd9c441857 (patch) | |
tree | b258b2d5128ff0d29a571835815dc68380286e71 /railties/test/generators/create_migration_test.rb | |
parent | de9a3748c436f849dd1877851115cd94663c2725 (diff) | |
download | rails-b9c63b0aae7a7f9ddf32e155b11a51bd9c441857.tar.gz rails-b9c63b0aae7a7f9ddf32e155b11a51bd9c441857.tar.bz2 rails-b9c63b0aae7a7f9ddf32e155b11a51bd9c441857.zip |
Explicitly ignored wildcard verbs from head_routes
In match_head_routes, deleted the routes in which request.request_method was empty (matches all HTTP verbs) when responding to a HEAD request. This prevents catch-all routes (such as Racks) from intercepting the HEAD request.
Fixes #18698
Diffstat (limited to 'railties/test/generators/create_migration_test.rb')
0 files changed, 0 insertions, 0 deletions