2013-08-30 09:34:21 +08:00
|
|
|
# Added by young
|
|
|
|
class JournalsForMessageObserver < ActiveRecord::Observer
|
2013-12-28 13:33:04 +08:00
|
|
|
def after_create(journals_for_message)
|
2015-03-31 11:42:36 +08:00
|
|
|
Mailer.run.journals_for_message_add(User.current, journals_for_message)
|
2013-12-28 13:33:04 +08:00
|
|
|
end
|
2013-08-30 09:34:21 +08:00
|
|
|
end
|
|
|
|
|