Sha256: ebc8073c785cfd78b21978b20a42bf0094c9617f215d50d056393eaa029ca9dc

Contents?: true

Size: 342 Bytes

Versions: 8

Compression:

Stored size: 342 Bytes

Contents

class ClearanceMailer < ActionMailer::Base
  def change_password(user)
    @user = user
    mail(
      from: Clearance.configuration.mailer_sender,
      to: @user.email,
      subject: I18n.t(
        :change_password,
        scope: [:clearance, :models, :clearance_mailer],
        default: "Change your password"
      )
    )
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
clearance-1.12.0 app/mailers/clearance_mailer.rb
clearance-1.11.0 app/mailers/clearance_mailer.rb
clearance-1.10.1 app/mailers/clearance_mailer.rb
clearance-1.9.0 app/mailers/clearance_mailer.rb
clearance-1.8.1 app/mailers/clearance_mailer.rb
clearance-1.8.0 app/mailers/clearance_mailer.rb
clearance-1.7.0 app/mailers/clearance_mailer.rb
clearance-1.6.1 app/mailers/clearance_mailer.rb