Sha256: af53cdc20e28cc073e778f062eea8703a79920603dc7b65fec3f965356a0104a
Contents?: true
Size: 778 Bytes
Versions: 6
Compression:
Stored size: 778 Bytes
Contents
module Spree class UserMailer < BaseMailer def reset_password_instructions(user, token, *args) @edit_password_reset_url = spree.edit_spree_user_password_url(:reset_password_token => token, :host => Spree::Store.current.url) mail to: user.email, from: from_address, subject: Spree::Store.current.name + ' ' + I18n.t(:subject, :scope => [:devise, :mailer, :reset_password_instructions]) end def confirmation_instructions(user, token, opts={}) @confirmation_url = spree.spree_user_confirmation_url(:confirmation_token => token, :host => Spree::Store.current.url) mail to: user.email, from: from_address, subject: Spree::Store.current.name + ' ' + I18n.t(:subject, :scope => [:devise, :mailer, :confirmation_instructions]) end end end
Version data entries
6 entries across 6 versions & 2 rubygems