summaryrefslogtreecommitdiffstats
path: root/app/models/journal.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-29 13:27:50 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-29 13:27:50 +0000
commitfdb01518697fcada2fedb4f8bc2c6852083d62dc (patch)
tree19710bbbf9156b29ebe3be3664f511518d749806 /app/models/journal.rb
parent88a93d7e1097adf5af6dde85126bedc55c457339 (diff)
downloadredmine-fdb01518697fcada2fedb4f8bc2c6852083d62dc.tar.gz
redmine-fdb01518697fcada2fedb4f8bc2c6852083d62dc.zip
Fixed: notes are lost when copying issue(s) (#6901, #8239).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5602 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/journal.rb')
-rw-r--r--app/models/journal.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/models/journal.rb b/app/models/journal.rb
index 39eb338d8..cb5aad21a 100644
--- a/app/models/journal.rb
+++ b/app/models/journal.rb
@@ -78,4 +78,12 @@ class Journal < ActiveRecord::Base
s << ' has-details' unless details.blank?
s
end
+
+ def notify?
+ @notify != false
+ end
+
+ def notify=(arg)
+ @notify = arg
+ end
end