From: Toshi MARUYAMA Date: Thu, 5 Sep 2013 11:14:30 +0000 (+0000) Subject: remove trailing white-space from app/models/journal.rb X-Git-Tag: 2.4.0~123 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=15ab64488a3b32793dbc19907302986021cccd7e;p=redmine.git 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 --- diff --git a/app/models/journal.rb b/app/models/journal.rb index 2e3aa7f9f..d7712fa1f 100644 --- a/app/models/journal.rb +++ b/app/models/journal.rb @@ -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)