diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-08-03 17:42:35 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-08-03 17:45:58 -0400 |
commit | 77be872819d6e9fd63f4253398dbfd6990166a7c (patch) | |
tree | a50d67e6c0eaf2da98b695520036d43a6ac578b8 /activestorage | |
parent | 762c7da7832c5641e19e6eb44b0b443ab67b1400 (diff) | |
download | rails-77be872819d6e9fd63f4253398dbfd6990166a7c.tar.gz rails-77be872819d6e9fd63f4253398dbfd6990166a7c.tar.bz2 rails-77be872819d6e9fd63f4253398dbfd6990166a7c.zip |
Do not change the entire codebase style only because of active_storage
We are already removing the braces around hash parameters in the last
argument in other places so we should not change the entire codebase
because of two places.
Diffstat (limited to 'activestorage')
-rw-r--r-- | activestorage/lib/active_storage/service/disk_service.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/activestorage/lib/active_storage/service/disk_service.rb b/activestorage/lib/active_storage/service/disk_service.rb index c75c1caabe..35b0909297 100644 --- a/activestorage/lib/active_storage/service/disk_service.rb +++ b/activestorage/lib/active_storage/service/disk_service.rb @@ -81,10 +81,8 @@ class ActiveStorage::Service::DiskService < ActiveStorage::Service content_length: content_length, checksum: checksum }, - { - expires_in: expires_in, - purpose: :blob_token - } + expires_in: expires_in, + purpose: :blob_token ) generated_url = |