summaryrefslogtreecommitdiffstats
path: root/app/models/journal.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-09-05 11:14:30 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-09-05 11:14:30 +0000
commit15ab64488a3b32793dbc19907302986021cccd7e (patch)
treeba8704053b7a5e4dd9079bae1fc7d5bac624e1bb /app/models/journal.rb
parent0fc21282d5759862b2d804693e84c84bcdc1a518 (diff)
downloadredmine-15ab64488a3b32793dbc19907302986021cccd7e.tar.gz
redmine-15ab64488a3b32793dbc19907302986021cccd7e.zip
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
Diffstat (limited to 'app/models/journal.rb')
-rw-r--r--app/models/journal.rb2
1 files changed, 1 insertions, 1 deletions
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)