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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[#59925] ignore rubocop for this method
Tobias Dillmann455a86513ec6
diff --git a/lib/open_project/object_linking.rb b/lib/open_project/object_linking.rbindex 09583706038..7f931a4f33c 100644--- a/lib/open_project/object_linking.rb+++ b/lib/open_project/object_linking.rb@@ -43,7 +43,7 @@ module OpenProject# Displays a link to user's account page if active or registered# Will attach a user hover card to the link.- def link_to_user(user, options = {})+ def link_to_user(user, options = {}) # rubocop:disable Metrics/AbcSizereturn h(user.to_s) unless user.is_a?(User)return h(user.name) if user.locked? && !User.current.admin?