Use DeprecatedConstantAccessor for AD::ParamsParser::ParseError
Fixes #28525
This commit is contained in:
parent
f53a3005f5
commit
d5ea4bde59
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user