Sha256: 9695b8dda4c849d274d5a4a7d4340e9f4bde6ed56466c900c162d049c3c85932

Contents?: true

Size: 429 Bytes

Versions: 15

Compression:

Stored size: 429 Bytes

Contents

class UserMailer < ActionMailer::Base
  default_url_options[:host] = Spree::Config[:site_url]

  def password_reset_instructions(user)
    subject       Spree::Config[:site_name] + ' ' + I18n.t("password_reset_instructions")
    from          Spree::Config[:mails_from]
    recipients    user.email
    sent_on       Time.now
    body          :edit_password_reset_url => edit_password_reset_url(user.perishable_token)
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
spree-0.11.4 app/models/user_mailer.rb
spree-0.11.3 app/models/user_mailer.rb
spree-0.11.2 app/models/user_mailer.rb
spree-0.11.1 app/models/user_mailer.rb
spree-0.11.0 app/models/user_mailer.rb
spree-0.10.2 app/models/user_mailer.rb
spree-0.10.1 app/models/user_mailer.rb
spree-0.10.0 app/models/user_mailer.rb
spree-0.10.0.beta app/models/user_mailer.rb
spree-enriquez-0.9.4 app/models/user_mailer.rb
spree-0.9.4 app/models/user_mailer.rb
spree-0.9.3 app/models/user_mailer.rb
spree-0.9.2 app/models/user_mailer.rb
spree-0.9.1 app/models/user_mailer.rb
spree-0.9.0 app/models/user_mailer.rb