Sha256: 20b24ace3788f193d3b0c08cb1951ad2547f8e9924141b3506b0996bbc2ffead

Contents?: true

Size: 365 Bytes

Versions: 25

Compression:

Stored size: 365 Bytes

Contents

module Spina
  class UserMailer < ActionMailer::Base
    layout 'spina/mail'

    def forgot_password(user)
      @user = user

      mail(
        to: @user.email, 
        from: current_account.email, 
        subject: t('spina.forgot_password.mail_subject')
      )
    end

    private

      def current_account
        Spina::Account.first
      end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
spina-2.3.5 app/mailers/spina/user_mailer.rb
spina-2.3.4 app/mailers/spina/user_mailer.rb
spina-2.3.3 app/mailers/spina/user_mailer.rb
spina-2.3.2 app/mailers/spina/user_mailer.rb
spina-2.3.1 app/mailers/spina/user_mailer.rb
spina-2.3.0 app/mailers/spina/user_mailer.rb
spina-2.2.0 app/mailers/spina/user_mailer.rb
spina-2.1.1 app/mailers/spina/user_mailer.rb
spina-2.1.0 app/mailers/spina/user_mailer.rb
spina-2.0.2 app/mailers/spina/user_mailer.rb
spina-2.0.1 app/mailers/spina/user_mailer.rb
spina-2.0.0 app/mailers/spina/user_mailer.rb
spina-2.0.0.beta app/mailers/spina/user_mailer.rb
spina-2.0.0.alpha app/mailers/spina/user_mailer.rb
spina-1.2.0 app/mailers/spina/user_mailer.rb
spina-1.1.4 app/mailers/spina/user_mailer.rb
spina-1.1.3 app/mailers/spina/user_mailer.rb
spina-1.1.2 app/mailers/spina/user_mailer.rb
spina-1.1.1 app/mailers/spina/user_mailer.rb
spina-1.1.0 app/mailers/spina/user_mailer.rb