From 14902560e4c22b8e4ff2e45493d3e2691da524f6 Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Sun, 14 Aug 2016 18:27:25 +0800 Subject: AC::Metal is already defining default encoding as UTF 8, let's reuse it. --- actionpack/lib/action_controller/metal/parameter_encoding.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') 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 -- cgit v1.2.3