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

[#62257] fix reduce parameters

Eric Schubert2a77b57e641b
diff --git a/app/components/work_packages/types/pattern_input.rb b/app/components/work_packages/types/pattern_input.rb
index 1b84803b51b..5634cabab84 100644
--- a/app/components/work_packages/types/pattern_input.rb
+++ b/app/components/work_packages/types/pattern_input.rb
@@ -47,7 +47,7 @@ module WorkPackages
end
def heading_locales
- @suggestions.keys.reduce({}) do |key, acc|
+ @suggestions.keys.reduce({}) do |acc, key|
acc[key] = I18n.t("types.edit.subject_configuration.pattern.headings.#{key}")
acc
end.to_json