summaryrefslogtreecommitdiffstats
path: root/app/models/version.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-05-01 15:57:31 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-05-01 15:57:31 +0000
commit5a3b9037333e4ff6f3727b0fb058b560be38240a (patch)
tree4b4d8a5d22587996025a535895c44e98eac8e681 /app/models/version.rb
parent92dcaeb4729fa45dd885c2d19b25e0268ea515a8 (diff)
downloadredmine-5a3b9037333e4ff6f3727b0fb058b560be38240a.tar.gz
redmine-5a3b9037333e4ff6f3727b0fb058b560be38240a.zip
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
Diffstat (limited to 'app/models/version.rb')
-rw-r--r--app/models/version.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/version.rb b/app/models/version.rb
index 0c081baa6..e386af53d 100644
--- a/app/models/version.rb
+++ b/app/models/version.rb
@@ -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)