Sha256: 32f67f38aa42a282886223e31bf94c6a87c9151bab4253e62d23f6cd6c9a9b87
Contents?: true
Size: 344 Bytes
Versions: 3
Compression:
Stored size: 344 Bytes
Contents
module Jabe class CommentMailer < ActionMailer::Base def notification(comment, request) @comment = comment @request = request from Jabe::SETTINGS.mail_from || 'edit-me-in-settings@example.com' mail(:to => Admin.all.map(&:email), :subject => "Comment on: #{comment.entry.title}" ) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jabe-0.8.0 | app/mailers/jabe/comment_mailer.rb |
jabe-0.7.0 | app/mailers/jabe/comment_mailer.rb |
jabe-0.6.5 | app/mailers/jabe/comment_mailer.rb |