AC::Metal is already defining default encoding as UTF 8, let's reuse it.

上级 6107a40c
......@@ -17,7 +17,7 @@ def encoding_for_param(action, param) # :nodoc:
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册