From c06a6bb61a792e087c0351b2902a4bcca90a2491 Mon Sep 17 00:00:00 2001 From: Stefan Botzenhart Date: Tue, 10 Nov 2015 00:05:24 +0100 Subject: [PATCH] Use correct constant name for OPTION_NAME --- .../documents/patches/custom_fields_helper_patch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/open_project/documents/patches/custom_fields_helper_patch.rb b/lib/open_project/documents/patches/custom_fields_helper_patch.rb index 11122cb279..7f2ffc7446 100644 --- a/lib/open_project/documents/patches/custom_fields_helper_patch.rb +++ b/lib/open_project/documents/patches/custom_fields_helper_patch.rb @@ -39,7 +39,7 @@ module OpenProject::Documents::Patches custom_fields_tabs_without_documents << { name: 'DocumentCategoryCustomField', partial: 'custom_fields/tab', - label: DocumentCategory::OptionName + label: DocumentCategory::OPTION_NAME } end