aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/active_storage
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2017-07-22 13:14:46 +0900
committerGeorge Claghorn <george.claghorn@gmail.com>2017-07-22 00:14:46 -0400
commitb44b0f2c3b61beefbf5bcaadbf74f70137ded52e (patch)
tree4e4c7b34a3d598e28c5389e61ba5fc60ca4a1d69 /app/controllers/active_storage
parentf0d7ce9e767ffbf7307ed6efaa4a189ae3ea3c0a (diff)
downloadrails-b44b0f2c3b61beefbf5bcaadbf74f70137ded52e.tar.gz
rails-b44b0f2c3b61beefbf5bcaadbf74f70137ded52e.tar.bz2
rails-b44b0f2c3b61beefbf5bcaadbf74f70137ded52e.zip
Fix RuboCop offenses and warnings
Diffstat (limited to 'app/controllers/active_storage')
-rw-r--r--app/controllers/active_storage/variants_controller.rb2
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