diff options
author | Guo Xiang Tan <tgx_world@hotmail.com> | 2014-07-03 21:32:14 -0700 |
---|---|---|
committer | Guo Xiang Tan <tgx_world@hotmail.com> | 2014-08-21 16:35:39 +0800 |
commit | d3eb92d95a694905a80668dcde1fb49e2d08f388 (patch) | |
tree | 2c96c2cecafb1e4f36def16b989104d7668f0aed /load_paths.rb | |
parent | d3b0bb28ba4cf8c7043546349f932ef2dd98ff04 (diff) | |
download | rails-d3eb92d95a694905a80668dcde1fb49e2d08f388.tar.gz rails-d3eb92d95a694905a80668dcde1fb49e2d08f388.tar.bz2 rails-d3eb92d95a694905a80668dcde1fb49e2d08f388.zip |
Avoid duplicating routes for HEAD requests.
Follow up to rails#15321
Instead of duplicating the routes, we will first match the HEAD request to
HEAD routes. If no match is found, we will then map the HEAD request to
GET routes.
Diffstat (limited to 'load_paths.rb')
0 files changed, 0 insertions, 0 deletions