mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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.
This commit is contained in:
parent
762c7da783
commit
77be872819
2 changed files with 2 additions and 5 deletions
|
@ -16,7 +16,6 @@ Style/AndOr:
|
|||
# method call.
|
||||
Style/BracesAroundHashParameters:
|
||||
Enabled: true
|
||||
EnforcedStyle: context_dependent
|
||||
|
||||
# Align `when` with `case`.
|
||||
Layout/CaseIndentation:
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue