summaryrefslogtreecommitdiffstats
path: root/app/models/journal.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-05 15:41:54 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-05 15:41:54 +0000
commite951d8458413f02ba613163df862d1a352ed3692 (patch)
treec9f1ec441a1243ffa35bb35ba5865588c710b20e /app/models/journal.rb
parentbbe8ea29e8d3e6de60b96c08d60de9447bcceca9 (diff)
downloadredmine-e951d8458413f02ba613163df862d1a352ed3692.tar.gz
redmine-e951d8458413f02ba613163df862d1a352ed3692.zip
Add a user preference to choose how comments/replies are displayed: in chronological or reverse chronological order (#589, #776).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1197 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/journal.rb')
-rw-r--r--app/models/journal.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/journal.rb b/app/models/journal.rb
index d757ef90d..7c5e3d3bf 100644
--- a/app/models/journal.rb
+++ b/app/models/journal.rb
@@ -23,6 +23,7 @@ class Journal < ActiveRecord::Base
belongs_to :user
has_many :details, :class_name => "JournalDetail", :dependent => :delete_all
+ attr_accessor :indice
acts_as_searchable :columns => 'notes',
:include => :issue,