mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #17688 from ilyakatz/request_method_instrumentation
Use request_method instead of method in instrumentation
This commit is contained in:
commit
030c0532b9
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ module ActionController
|
||||||
:action => self.action_name,
|
:action => self.action_name,
|
||||||
:params => request.filtered_parameters,
|
:params => request.filtered_parameters,
|
||||||
:format => request.format.try(:ref),
|
:format => request.format.try(:ref),
|
||||||
:method => request.method,
|
:method => request.request_method,
|
||||||
:path => (request.fullpath rescue "unknown")
|
:path => (request.fullpath rescue "unknown")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue