8 lines
205 B
Ruby
8 lines
205 B
Ruby
|
# Added by young
|
||
|
class JournalsForMessageObserver < ActiveRecord::Observer
|
||
|
def after_create(journal_for_message)
|
||
|
Mailer.journals_for_message_add(User.current, journal_for_message).deliver
|
||
|
end
|
||
|
end
|
||
|
|