diff options
author | Koichi ITO <koic.ito@gmail.com> | 2017-08-12 20:31:46 +0900 |
---|---|---|
committer | Koichi ITO <koic.ito@gmail.com> | 2017-08-16 17:55:25 +0900 |
commit | 7c260ae20170159f85d8b7ded1209f12653934fc (patch) | |
tree | 7a47c50110652ed74e5984e59d50699e20b64f30 /activestorage/lib/active_storage/service | |
parent | 11fd246d8f6406aa5165ebf45ca8f17c67716f7e (diff) | |
download | rails-7c260ae20170159f85d8b7ded1209f12653934fc.tar.gz rails-7c260ae20170159f85d8b7ded1209f12653934fc.tar.bz2 rails-7c260ae20170159f85d8b7ded1209f12653934fc.zip |
Fix RuboCop offenses
And enable `context_dependent` of Style/BracesAroundHashParameters cop.
Diffstat (limited to 'activestorage/lib/active_storage/service')
-rw-r--r-- | activestorage/lib/active_storage/service/disk_service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activestorage/lib/active_storage/service/disk_service.rb b/activestorage/lib/active_storage/service/disk_service.rb index 0e38f88138..1d121dcb6c 100644 --- a/activestorage/lib/active_storage/service/disk_service.rb +++ b/activestorage/lib/active_storage/service/disk_service.rb @@ -84,8 +84,8 @@ module ActiveStorage content_length: content_length, checksum: checksum }, - expires_in: expires_in, - purpose: :blob_token + { expires_in: expires_in, + purpose: :blob_token } ) generated_url = |