aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-11-04 13:01:40 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-11-04 13:01:57 -0200
commit91d72fe6529ad8dc157542a955c7e58d0f9d53e6 (patch)
tree4e94a242058f949481f4854d1e901e9506c4fb4d /actionpack/lib
parent6e4a810f51b9ed2468b92247ef5568cc9d6dbcc0 (diff)
downloadrails-91d72fe6529ad8dc157542a955c7e58d0f9d53e6.tar.gz
rails-91d72fe6529ad8dc157542a955c7e58d0f9d53e6.tar.bz2
rails-91d72fe6529ad8dc157542a955c7e58d0f9d53e6.zip
:scissors: [ci skip]
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_dispatch/http/request.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/actionpack/lib/action_dispatch/http/request.rb b/actionpack/lib/action_dispatch/http/request.rb
index 535ed9373b..99b81c898f 100644
--- a/actionpack/lib/action_dispatch/http/request.rb
+++ b/actionpack/lib/action_dispatch/http/request.rb
@@ -299,7 +299,6 @@ module ActionDispatch
LOCALHOST =~ remote_addr && LOCALHOST =~ remote_ip
end
-
# Extracted into ActionDispatch::Request::Utils.deep_munge, but kept here for backwards compatibility.
def deep_munge(hash)
ActiveSupport::Deprecation.warn(
@@ -309,13 +308,11 @@ module ActionDispatch
Utils.deep_munge(hash)
end
-
protected
def parse_query(qs)
Utils.deep_munge(super)
end
-
private
def check_method(name)
HTTP_METHOD_LOOKUP[name] || raise(ActionController::UnknownHttpMethod, "#{name}, accepted HTTP methods are #{HTTP_METHODS.to_sentence(:locale => :en)}")