Merged r11760 from trunk (#13850).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.3-stable@11837 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2013-05-12 09:45:52 +00:00
parent 2c408ca6a5
commit af632568e3
3 changed files with 36 additions and 1 deletions
+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)