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 AttributeHelpText::Project#type_caption

Alexander Brandon Coles3ebd4147f81d
diff --git a/app/models/attribute_help_text/project.rb b/app/models/attribute_help_text/project.rb
index 24a7d45054e..79c7b44616d 100644
--- a/app/models/attribute_help_text/project.rb
+++ b/app/models/attribute_help_text/project.rb
@@ -47,7 +47,7 @@ class AttributeHelpText::Project < AttributeHelpText
validates :attribute_name, inclusion: { in: ->(*) { available_attributes.keys } }
def type_caption
- Project.model_name.human
+ ::Project.model_name.human
end
def self.visible_condition(_user)