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

added explicit :: for Users::UpdateContract for better resolution

Richard "Virgo" Richter2f42a2a71dd7
diff --git a/lib/open_project/ui/extensible_tabs.rb b/lib/open_project/ui/extensible_tabs.rb
index 4beec22535d..94b367ec4a4 100644
--- a/lib/open_project/ui/extensible_tabs.rb
+++ b/lib/open_project/ui/extensible_tabs.rb
@@ -63,7 +63,7 @@ module OpenProject
path: ->(params) { edit_user_path(params[:user], tab: :general) },
label: :label_general,
only_if: ->(context) {
- Users::UpdateContract.new(context[:user], context[:current_user]).allowed_to_update?
+ ::Users::UpdateContract.new(context[:user], context[:current_user]).allowed_to_update?
}
},
{