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

[#55021] remove unnecessary `html_safe`

Tobias Dillmann3c2a48ce2226
diff --git a/app/components/projects/row_component.rb b/app/components/projects/row_component.rb
index 6a610b21aa6..bcfac8bb6aa 100644
--- a/app/components/projects/row_component.rb
+++ b/app/components/projects/row_component.rb
@@ -30,6 +30,7 @@
module Projects
class RowComponent < ::RowComponent
delegate :favored_project_ids, to: :table
+ delegate :identifier, to: :project
def project
model.first
@@ -108,17 +109,7 @@ module Projects
end
def id
- content = "".html_safe
-
- content << project.id.to_s
- content
- end
-
- def identifier
- content = "".html_safe
-
- content << project.identifier
- content
+ project.id.to_s
end
def name