aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorGeorge Claghorn <george.claghorn@gmail.com>2017-08-20 18:26:56 -0400
committerGeorge Claghorn <george.claghorn@gmail.com>2017-08-20 18:26:56 -0400
commite9468e3971b9c38dd6584fcaa25b3acc6d2ab630 (patch)
tree86516f001b958e9f7d58019006f7c54f0f19fb81 /activestorage
parent376dd5c0011214309d984c9a1e98958e2bc46c48 (diff)
downloadrails-e9468e3971b9c38dd6584fcaa25b3acc6d2ab630.tar.gz
rails-e9468e3971b9c38dd6584fcaa25b3acc6d2ab630.tar.bz2
rails-e9468e3971b9c38dd6584fcaa25b3acc6d2ab630.zip
Fix syntax error
Diffstat (limited to 'activestorage')
-rw-r--r--activestorage/lib/active_storage/service/s3_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/lib/active_storage/service/s3_service.rb b/activestorage/lib/active_storage/service/s3_service.rb
index 2b52c3786d..e5d1e56e05 100644
--- a/activestorage/lib/active_storage/service/s3_service.rb
+++ b/activestorage/lib/active_storage/service/s3_service.rb
@@ -52,7 +52,7 @@ module ActiveStorage
end
end
- def url(key, expires_in:, disposition:, filename:, disposition:, content_type:)
+ def url(key, expires_in:, filename:, disposition:, content_type:)
instrument :url, key do |payload|
generated_url = object_for(key).presigned_url :get, expires_in: expires_in,
response_content_disposition: disposition,