fixed custom fields partial path

pull/6827/head
Markus Kahl 9 years ago
parent 5562385258
commit 7ad5e8d50b
  1. 2
      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

Loading…
Cancel
Save