Fixed: Unable to set custom fields for versions using the REST API (#13850).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11760 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2013-05-01 15:57:31 +00:00
1 parent 92dcaeb472
commit 5a3b903733
3 files changed
+36 -1

No files matched your search

+2 -1
View File
@@ -47,7 +47,8 @@ class Version < ActiveRecord::Base
'wiki_page_title',
'status',
'sharing',
'custom_field_values'
'custom_field_values',
'custom_fields'
# Returns true if +user+ or current user is allowed to view the version
def visible?(user=User.current)