提交 3d789ea4 编写于 作者: G Ganesh Kumar

ActionMailer deliver method Documentation corrected Ticket #761

上级 b134e0f4
......@@ -125,7 +125,7 @@ def notify_observers(method)
#
# class CommentObserver < ActiveModel::Observer
# def after_save(comment)
# Notifications.deliver_comment("admin@do.com", "New comment was posted", comment)
# Notifications.comment("admin@do.com", "New comment was posted", comment).deliver
# end
# end
#
......
......@@ -11,7 +11,7 @@ module ActiveRecord
#
# class CommentObserver < ActiveRecord::Observer
# def after_save(comment)
# Notifications.deliver_comment("admin@do.com", "New comment was posted", comment)
# Notifications.comment("admin@do.com", "New comment was posted", comment).deliver
# end
# end
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册