Add default value for send_notification

pull/3254/head
Alexander Bach 9 years ago
parent ee14628c09
commit 0cf0468ebf
  1. 4
      app/models/journal_manager.rb

@ -28,7 +28,9 @@
#++
class JournalManager
cattr_accessor :send_notification, instance_accessor: false
cattr_accessor :send_notification, instance_accessor: false do
true
end
def self.is_journalized?(obj)
not obj.nil? and obj.respond_to? :journals

Loading…
Cancel
Save