aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2016-08-14 18:27:25 +0800
committerPrathamesh Sonpatki <csonpatki@gmail.com>2016-08-14 18:27:25 +0800
commit14902560e4c22b8e4ff2e45493d3e2691da524f6 (patch)
tree06dbdd1c05dff05bba344218640645910847653f
parent6107a40c0e4d05614493bddf33d5ae8d9ce8a8d2 (diff)
downloadrails-14902560e4c22b8e4ff2e45493d3e2691da524f6.tar.gz
rails-14902560e4c22b8e4ff2e45493d3e2691da524f6.tar.bz2
rails-14902560e4c22b8e4ff2e45493d3e2691da524f6.zip
AC::Metal is already defining default encoding as UTF 8, let's reuse it.
-rw-r--r--actionpack/lib/action_controller/metal/parameter_encoding.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/parameter_encoding.rb b/actionpack/lib/action_controller/metal/parameter_encoding.rb
index a278c5d011..c457fd0d06 100644
--- a/actionpack/lib/action_controller/metal/parameter_encoding.rb
+++ b/actionpack/lib/action_controller/metal/parameter_encoding.rb
@@ -17,7 +17,7 @@ module ActionController
if @_parameter_encodings[action.to_s] && @_parameter_encodings[action.to_s][param.to_s]
@_parameter_encodings[action.to_s][param.to_s]
else
- ::Encoding::UTF_8
+ super
end
end