Sha256: c0dd1057dd2e57f2b9fb8ac9f44f5c443ec7ff542f1b4a04486c57c2762a971f

Contents?: true

Size: 142 Bytes

Versions: 1

Compression:

Stored size: 142 Bytes

Contents

module Catarse
class NotificationObserver < ActiveRecord::Observer
  def after_create(notification)
    notification.send_email
  end
end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
catarse_core-1.0.0.beta app/observers/catarse/notification_observer.rb