summaryrefslogtreecommitdiffstats
path: root/app/models/journal.rb
diff options
context:
space:
mode:
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