Class: Jabe::CommentMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Jabe::CommentMailer
show all
- Includes:
- PublicEntryUrl
- Defined in:
- app/mailers/jabe/comment_mailer.rb
Instance Method Summary
collapse
included, #public_entry_url
Instance Method Details
#notification(comment) ⇒ Object
5
6
7
8
9
10
11
12
|
# File 'app/mailers/jabe/comment_mailer.rb', line 5
def notification()
@comment =
mail(:to => Admin.all.map(&:email),
:subject => "Comment on: #{.entry.title}",
:from => Jabe::SETTINGS.mail_from || '[email protected]'
)
end
|