From 77be872819d6e9fd63f4253398dbfd6990166a7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Thu, 3 Aug 2017 17:42:35 -0400 Subject: 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. --- activestorage/lib/active_storage/service/disk_service.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'activestorage/lib') 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 = -- cgit v1.2.3