Sha256: 94f270211f5b4b9db08559ca710ce3743da0b783f4d967c0b1239b51ee12a473

Contents?: true

Size: 375 Bytes

Versions: 5

Compression:

Stored size: 375 Bytes

Contents

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

  def reset_password_instructions(user)
    @edit_password_reset_url = edit_user_password_url(:reset_password_token => user.reset_password_token)
    mail(:to => user.email,
         :subject => Spree::Config[:site_name] + ' ' + I18n.t("password_reset_instructions"))
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_auth-0.40.4 app/models/user_mailer.rb
spree_auth-0.40.3 app/models/user_mailer.rb
spree_auth-0.40.2 app/models/user_mailer.rb
spree_auth-0.40.1 app/models/user_mailer.rb
spree_auth-0.40.0 app/models/user_mailer.rb