Class: MessageBoardMailer

Inherits:
AdmixMailer
  • Object
show all
Defined in:
app/mailers/message_board_mailer.rb

Instance Method Summary collapse

Instance Method Details

#message_replied(board_message) ⇒ Object



3
4
5
6
7
8
# File 'app/mailers/message_board_mailer.rb', line 3

def message_replied(board_message)
  @board_message = board_message
  @url  = polymorphic_url(board_message)

  mail(to: board_message.email, subject: t('message_board.mailers.message_replied.subject'))
end