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:
Toshi MARUYAMA 2013-09-05 11:14:30 +00:00
parent 0fc21282d5
commit 15ab64488a
1 changed files with 1 additions and 1 deletions

View File

@ -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)