mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Make RackRequest#request_method respect _method
This commit is contained in:
@@ -98,10 +98,6 @@ module ActionController #:nodoc:
|
||||
@env['REMOTE_ADDR']
|
||||
end
|
||||
|
||||
def request_method
|
||||
@env['REQUEST_METHOD'].downcase.to_sym
|
||||
end
|
||||
|
||||
def server_port
|
||||
@env['SERVER_PORT'].to_i
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user