From 7ad5e8d50b2cc51a9ebbfe2be3727b9886988094 Mon Sep 17 00:00:00 2001 From: Markus Kahl Date: Fri, 30 Oct 2015 00:34:56 +0000 Subject: [PATCH] fixed custom fields partial path --- .../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 b4668a369d..894c7ea04f 100644 --- a/lib/open_project/documents/patches/custom_fields_helper_patch.rb +++ b/lib/open_project/documents/patches/custom_fields_helper_patch.rb @@ -36,7 +36,7 @@ module OpenProject::Documents::Patches base.class_eval do def custom_fields_tabs_with_documents - custom_fields_tabs_without_documents << {:name => 'DocumentCategoryCustomField', :partial => 'custom_fields/index', :label => DocumentCategory::OptionName} + custom_fields_tabs_without_documents << {:name => 'DocumentCategoryCustomField', :partial => 'custom_fields/tab', :label => DocumentCategory::OptionName} end alias_method_chain :custom_fields_tabs, :documents