aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/app/models/active_storage/variant.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2017-08-15 21:57:27 +0200
committerXavier Noria <fxn@hashref.com>2017-08-15 22:01:24 +0200
commitd8bf5d73c39ff6758b3a86a58b1b096006f4bb42 (patch)
treea825566b297d6cc4420e745fece2a0686dd7962b /activestorage/app/models/active_storage/variant.rb
parent979277dc0349e3674daa21b691478ea7e05f3519 (diff)
downloadrails-d8bf5d73c39ff6758b3a86a58b1b096006f4bb42.tar.gz
rails-d8bf5d73c39ff6758b3a86a58b1b096006f4bb42.tar.bz2
rails-d8bf5d73c39ff6758b3a86a58b1b096006f4bb42.zip
restores some double newlines deleted in ae87217
These were intentional, see https://github.com/rails/rails/pull/30061#issuecomment-320068368
Diffstat (limited to 'activestorage/app/models/active_storage/variant.rb')
-rw-r--r--activestorage/app/models/active_storage/variant.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activestorage/app/models/active_storage/variant.rb b/activestorage/app/models/active_storage/variant.rb
index 92fa445095..40648a27f7 100644
--- a/activestorage/app/models/active_storage/variant.rb
+++ b/activestorage/app/models/active_storage/variant.rb
@@ -65,6 +65,7 @@ class ActiveStorage::Variant
service.url key, expires_in: expires_in, disposition: disposition, filename: blob.filename, content_type: blob.content_type
end
+
private
def processed?
service.exist?(key)