From 9bd27dcec5a036ee06d6ac211f75868a5f49e4db Mon Sep 17 00:00:00 2001 From: Simon Fish Date: Tue, 8 Oct 2024 14:54:34 +0100 Subject: [PATCH] Lint --- lib/view_component/global_config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/view_component/global_config.rb b/lib/view_component/global_config.rb index cb2e69c27..cbe8b0b70 100644 --- a/lib/view_component/global_config.rb +++ b/lib/view_component/global_config.rb @@ -1,3 +1,3 @@ module ViewComponent - GlobalConfig = defined?(Rails) && Rails.application ? Rails.application.config.view_component : Base.config + GlobalConfig = (defined?(Rails) && Rails.application) ? Rails.application.config.view_component : Base.config # standard:disable Naming/ConstantName end