aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/http
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-08-06 15:13:07 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-06 15:13:07 -0700
commit595bef5df8eae70eb2f87bd8fbb79e81a98ecbae (patch)
tree06ab09ed381c38e0ba1de7bca15db0ee9218e22f /actionpack/lib/action_dispatch/http
parent8f27d6036a2ddc3cb7a7ad98afa2666ec163c2c3 (diff)
downloadrails-595bef5df8eae70eb2f87bd8fbb79e81a98ecbae.tar.gz
rails-595bef5df8eae70eb2f87bd8fbb79e81a98ecbae.tar.bz2
rails-595bef5df8eae70eb2f87bd8fbb79e81a98ecbae.zip
get the underlying REQUEST_METHOD from the superclass
Diffstat (limited to 'actionpack/lib/action_dispatch/http')
-rw-r--r--actionpack/lib/action_dispatch/http/request.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/request.rb b/actionpack/lib/action_dispatch/http/request.rb
index a0d8f552ac..d320556b5d 100644
--- a/actionpack/lib/action_dispatch/http/request.rb
+++ b/actionpack/lib/action_dispatch/http/request.rb
@@ -103,7 +103,7 @@ module ActionDispatch
# the application should use), this \method returns the overridden
# value, not the original.
def request_method
- @request_method ||= check_method(env["REQUEST_METHOD"])
+ @request_method ||= check_method(super)
end
def routes # :nodoc: