Class: Talkie::NotificationsMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/talkie/notifications_mailer.rb

Instance Method Summary collapse

Instance Method Details

#mentionedObject



7
8
9
10
11
12
13
# File 'app/mailers/talkie/notifications_mailer.rb', line 7

def mentioned
  @comment = params[:comment]
  @creator = @comment.creator
  recipients = params[:recipients]
  mail to: recipients,
       subject: t("talkie.mailers.notifications.subject", creator: @creator.email)
end