Skip to content

Commit

Permalink
Merge pull request #41337 from orhantoy/fix-typo-in-deprecation-warning
Browse files Browse the repository at this point in the history
Fix typo in deprecation warning
  • Loading branch information
gmcgibbon committed Feb 4, 2021
2 parents 1cd8347 + 3cce446 commit 6756b09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/lib/action_dispatch/http/response.rb
Expand Up @@ -88,13 +88,13 @@ def each(&block)

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

Expand Down

0 comments on commit 6756b09

Please sign in to comment.