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