Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
boardfish committed Oct 10, 2024
1 parent d60bec5 commit 9bd27dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/view_component/global_config.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9bd27dc

Please sign in to comment.