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 localized_slug usage

Oliver Güntherea8966477954
diff --git a/modules/bim/lib/open_project/bim/patches/attachment_patch.rb b/modules/bim/lib/open_project/bim/patches/attachment_patch.rb
index 80e7c0c486e..d80f7fdb07e 100644
--- a/modules/bim/lib/open_project/bim/patches/attachment_patch.rb
+++ b/modules/bim/lib/open_project/bim/patches/attachment_patch.rb
@@ -55,7 +55,7 @@ module OpenProject::Bim::Patches::AttachmentPatch
def ifc_file_name
title = container.title.sub /\.ifc\Z/, ''
- title.to_localized_slug(:en) + ".ifc"
+ title.to_localized_slug(locale: :en) + ".ifc"
end
end
end