diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-20 17:35:23 -0500 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-20 17:35:23 -0500 |
commit | a968e3c3c75df3f209275d31eb0bd4ed6effd51e (patch) | |
tree | f1bf0f1cb9f86dbf456f74859fcc6a8c4fff9649 | |
parent | af999681122bf583b6644974ba2033453935fd6d (diff) | |
download | rails-a968e3c3c75df3f209275d31eb0bd4ed6effd51e.tar.gz rails-a968e3c3c75df3f209275d31eb0bd4ed6effd51e.tar.bz2 rails-a968e3c3c75df3f209275d31eb0bd4ed6effd51e.zip |
Consistent naming
-rw-r--r-- | lib/active_storage/variant.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/active_storage/variant.rb b/lib/active_storage/variant.rb index a07735eb57..658fb2f5bd 100644 --- a/lib/active_storage/variant.rb +++ b/lib/active_storage/variant.rb @@ -51,8 +51,8 @@ class ActiveStorage::Variant service.download(blob.key) end - def upload_variant(variation) - service.upload blob_variant_key, variation + def upload_variant(variant) + service.upload blob_variant_key, variant end def blob_variant_key |