Sha256: 0fe5388c25b23d99b2826d34056fed4ad21f0b61e63e2aeccaf66dbac96ed7a6

Contents?: true

Size: 151 Bytes

Versions: 21

Compression:

Stored size: 151 Bytes

Contents

class EmailNotifier < ActiveRecord::Observer
  observe Article, Comment
  
  def after_save(content)
    content.send_notifications
    true
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
typo-5.5 app/models/email_notifier.rb
typo-5.4.4 app/models/email_notifier.rb
typo-5.4.3 app/models/email_notifier.rb
typo-5.4.2 app/models/email_notifier.rb
typo-5.4.1 app/models/email_notifier.rb
typo-5.4 app/models/email_notifier.rb
typo-4.1.1 app/models/email_notifier.rb
typo-5.0.1 app/models/email_notifier.rb
typo-5.0.2 app/models/email_notifier.rb
typo-4.1 app/models/email_notifier.rb
typo-5.0.3.98.1 app/models/email_notifier.rb
typo-5.0.3.98 app/models/email_notifier.rb
typo-5.0 app/models/email_notifier.rb
typo-5.1.1 app/models/email_notifier.rb
typo-5.1.2 app/models/email_notifier.rb
typo-5.1.3 app/models/email_notifier.rb
typo-5.1 app/models/email_notifier.rb
typo-5.1.98 app/models/email_notifier.rb
typo-5.2 app/models/email_notifier.rb
typo-5.2.98 app/models/email_notifier.rb