diff options
author | Koichi ITO <koic.ito@gmail.com> | 2017-07-22 13:14:46 +0900 |
---|---|---|
committer | George Claghorn <george.claghorn@gmail.com> | 2017-07-22 00:14:46 -0400 |
commit | b44b0f2c3b61beefbf5bcaadbf74f70137ded52e (patch) | |
tree | 4e4c7b34a3d598e28c5389e61ba5fc60ca4a1d69 /app | |
parent | f0d7ce9e767ffbf7307ed6efaa4a189ae3ea3c0a (diff) | |
download | rails-b44b0f2c3b61beefbf5bcaadbf74f70137ded52e.tar.gz rails-b44b0f2c3b61beefbf5bcaadbf74f70137ded52e.tar.bz2 rails-b44b0f2c3b61beefbf5bcaadbf74f70137ded52e.zip |
Fix RuboCop offenses and warnings
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/active_storage/variants_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/active_storage/variants_controller.rb b/app/controllers/active_storage/variants_controller.rb index dde7e1458f..d5e97e63fa 100644 --- a/app/controllers/active_storage/variants_controller.rb +++ b/app/controllers/active_storage/variants_controller.rb @@ -20,6 +20,6 @@ class ActiveStorage::VariantsController < ActionController::Base end def disposition_param - params[:disposition].presence_in(%w( inline attachment )) || 'inline' + params[:disposition].presence_in(%w( inline attachment )) || "inline" end end |