diff options
author | Ilya Katz <ilyakatz@gmail.com> | 2014-11-20 15:14:53 -0500 |
---|---|---|
committer | Ilya Katz <ilyakatz@gmail.com> | 2014-11-20 15:14:53 -0500 |
commit | bc43d7f57d99a6f691761aceb3f399ba3ac7bace (patch) | |
tree | 431c1b92d8487d8bee795fd0eab733f548341482 /actionpack | |
parent | b0f44c9ff0be84ebc42760029adeeb9dd954655f (diff) | |
download | rails-bc43d7f57d99a6f691761aceb3f399ba3ac7bace.tar.gz rails-bc43d7f57d99a6f691761aceb3f399ba3ac7bace.tar.bz2 rails-bc43d7f57d99a6f691761aceb3f399ba3ac7bace.zip |
Use request method instead of ActionDispatch::Request#request_method instead of ActionDispatch::Request#method to pick up overrides by the middleware
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/instrumentation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/instrumentation.rb b/actionpack/lib/action_controller/metal/instrumentation.rb index b0e164bc57..bef7545e71 100644 --- a/actionpack/lib/action_controller/metal/instrumentation.rb +++ b/actionpack/lib/action_controller/metal/instrumentation.rb @@ -21,7 +21,7 @@ module ActionController :action => self.action_name, :params => request.filtered_parameters, :format => request.format.try(:ref), - :method => request.method, + :method => request.request_method, :path => (request.fullpath rescue "unknown") } |