Sha256: ceb8af73cb67cb52c6467beeafc67eeb458474e3521a4859acd6a13e40c38036
Contents?: true
Size: 441 Bytes
Versions: 1
Compression:
Stored size: 441 Bytes
Contents
module Raddar class NotificationMailer < ActionMailer::Base default from: "#{ Raddar.app_name } <#{ Raddar.default_from }>" def new_follower(notification) @user = notification.user @follower = notification.notifiable @notification = notification mail( to: @user.email, subject: t('mailers.notification.new_follower.subject', follower: @follower.name) ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
raddar-0.0.1.pre | app/mailers/raddar/notification_mailer.rb |