From: Marius Balteanu Date: Sun, 8 Sep 2024 20:55:22 +0000 (+0000) Subject: Fixes rubocop warning (#23980). X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=807b7bef4e4d5071b819491c357001df6b1bb561;p=redmine.git Fixes rubocop warning (#23980). git-svn-id: https://svn.redmine.org/redmine/trunk@23043 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/icons_helper.rb b/app/helpers/icons_helper.rb index 24dbf0c31..db4534da5 100644 --- a/app/helpers/icons_helper.rb +++ b/app/helpers/icons_helper.rb @@ -37,7 +37,7 @@ module IconsHelper end def icon_for_principal(principal_class, size: DEFAULT_ICON_SIZE, css_class: nil) - sprite_icon('group', size: size, css_class:css_class) if ['groupanonymous', 'groupnonmember', 'group'].include?(principal_class) + sprite_icon('group', size: size, css_class: css_class) if ['groupanonymous', 'groupnonmember', 'group'].include?(principal_class) end def icon_for_event_type(event_type, size: DEFAULT_ICON_SIZE, css_class: nil)