Class: CommentMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- CommentMailer
- Defined in:
- app/mailers/comment_mailer.rb
Instance Method Summary collapse
Instance Method Details
#comment_notification(comment) ⇒ Object
4 5 6 7 |
# File 'app/mailers/comment_mailer.rb', line 4 def comment_notification comment @comment = comment mail :to => comment.site.email, :from => comment.site.email, :subject => "#{comment.site.name}: New pending comment" end |