diff options
author | George Claghorn <george.claghorn@gmail.com> | 2017-08-20 18:26:56 -0400 |
---|---|---|
committer | George Claghorn <george.claghorn@gmail.com> | 2017-08-20 18:26:56 -0400 |
commit | e9468e3971b9c38dd6584fcaa25b3acc6d2ab630 (patch) | |
tree | 86516f001b958e9f7d58019006f7c54f0f19fb81 /activestorage | |
parent | 376dd5c0011214309d984c9a1e98958e2bc46c48 (diff) | |
download | rails-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.rb | 2 |
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, |