remove trailing white-space from app/models/journal.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12121 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
0fc21282d5
commit
15ab64488a
|
@ -57,7 +57,7 @@ class Journal < ActiveRecord::Base
|
|||
# Returns journal details that are visible to user
|
||||
def visible_details(user=User.current)
|
||||
details.select do |detail|
|
||||
if detail.property == 'cf'
|
||||
if detail.property == 'cf'
|
||||
field_id = detail.prop_key
|
||||
field = CustomField.find_by_id(field_id)
|
||||
field && field.visible_by?(project, user)
|
||||
|
|
Loading…
Reference in New Issue