Sha256: c09e7b4cbbd03fa42231c26c8cce18bb609a3dbe053017bb3f0b8c1c56b58561

Contents?: true

Size: 399 Bytes

Versions: 32

Compression:

Stored size: 399 Bytes

Contents

class TypusMailer < ActionMailer::Base

  self.template_root = "#{File.dirname(__FILE__)}/../views"

  def reset_password_link(user)
    @subject    = "[#{Typus::Configuration.options[:app_name]}] #{_("Reset password")}"
    @body       = { :user => user }
    @recipients = user.email
    @from       = Typus::Configuration.options[:email]
    @sent_on    = Time.now
    @headers    = {}
  end

end

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
fesplugas-typus-0.9.10 app/models/typus_mailer.rb
fesplugas-typus-0.9.11 app/models/typus_mailer.rb
fesplugas-typus-0.9.12 app/models/typus_mailer.rb
fesplugas-typus-0.9.13 app/models/typus_mailer.rb
fesplugas-typus-0.9.14 app/models/typus_mailer.rb
fesplugas-typus-0.9.15 app/models/typus_mailer.rb
fesplugas-typus-0.9.16 app/models/typus_mailer.rb
fesplugas-typus-0.9.17 app/models/typus_mailer.rb
fesplugas-typus-0.9.9 app/models/typus_mailer.rb
typus-0.9.39 app/models/typus_mailer.rb
typus-0.9.38 app/models/typus_mailer.rb
typus-0.9.37 app/models/typus_mailer.rb
typus-0.9.36 app/models/typus_mailer.rb
typus-0.9.35 app/models/typus_mailer.rb
typus-0.9.34 app/models/typus_mailer.rb
typus-0.9.33 app/models/typus_mailer.rb
typus-0.9.32 app/models/typus_mailer.rb
typus-0.9.31 app/models/typus_mailer.rb
typus-0.9.30 app/models/typus_mailer.rb
typus-0.9.29 app/models/typus_mailer.rb