Use DeprecatedConstantAccessor for AD::ParamsParser::ParseError

Fixes #28525
上级 f53a3005
......@@ -115,6 +115,7 @@ def params_parsers
end
module ParamsParser
ParseError = ActiveSupport::Deprecation::DeprecatedConstantProxy.new("ActionDispatch::ParamsParser::ParseError", "ActionDispatch::Http::Parameters::ParseError")
include ActiveSupport::Deprecation::DeprecatedConstantAccessor
deprecate_constant "ParseError", "ActionDispatch::Http::Parameters::ParseError"
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册