mirror of https://github.com/rails/rails
Merge pull request #49196 from p8/activestorage/remove-unused-methods
Remove unused methods on ActiveStorage::Variant
This commit is contained in:
commit
9b00c65aeb
|
@ -91,12 +91,6 @@ class ActiveStorage::Variant
|
|||
ActiveStorage::Filename.new "#{blob.filename.base}.#{variation.format.downcase}"
|
||||
end
|
||||
|
||||
alias_method :content_type_for_serving, :content_type
|
||||
|
||||
def forced_disposition_for_serving # :nodoc:
|
||||
nil
|
||||
end
|
||||
|
||||
# Returns the receiving variant. Allows ActiveStorage::Variant and ActiveStorage::Preview instances to be used interchangeably.
|
||||
def image
|
||||
self
|
||||
|
|
Loading…
Reference in New Issue