1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix typo in deprecation warning

This commit is contained in:
Orhan Toy 2021-02-04 22:56:20 +01:00
parent 1cd83476cd
commit 3cce44698e

View file

@ -88,13 +88,13 @@ module ActionDispatch # :nodoc:
def self.return_only_media_type_on_content_type=(*)
ActiveSupport::Deprecation.warn(
".return_only_media_type_on_content_type= is dreprecated with no replacement and will be removed in 7.0."
".return_only_media_type_on_content_type= is deprecated with no replacement and will be removed in 7.0."
)
end
def self.return_only_media_type_on_content_type
ActiveSupport::Deprecation.warn(
".return_only_media_type_on_content_type is dreprecated with no replacement and will be removed in 7.0."
".return_only_media_type_on_content_type is deprecated with no replacement and will be removed in 7.0."
)
end