Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix rubocop linting errors

Benjamin Bädorf9cb1ec84b00e
diff --git a/app/helpers/icons_helper.rb b/app/helpers/icons_helper.rb
index 3c05c1f2255..50f575025a6 100644
--- a/app/helpers/icons_helper.rb
+++ b/app/helpers/icons_helper.rb
@@ -43,10 +43,10 @@ module IconsHelper
"spot-icon_#{size}"
end
inline_class = if inline
- "spot-icon_inline"
- else
- ""
- end
+ "spot-icon_inline"
+ else
+ ""
+ end
content_tag(:span, title, class: "spot-icon #{size_class} #{inline_class} spot-icon_#{icon_name} #{classnames}")
end