From b44b0f2c3b61beefbf5bcaadbf74f70137ded52e Mon Sep 17 00:00:00 2001 From: Koichi ITO <koic.ito@gmail.com> Date: Sat, 22 Jul 2017 13:14:46 +0900 Subject: Fix RuboCop offenses and warnings --- app/controllers/active_storage/variants_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') 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 -- cgit v1.2.3