Sha256: 0001b60f886ac63c6a694c5948991e6a297d46025b115e5014be947cff9acba8
Contents?: true
Size: 836 Bytes
Versions: 5
Compression:
Stored size: 836 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) @store = Spree::Store.current mail to: user.email, from: from_address(@store), subject: "#{@store.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) @store = Spree::Store.current mail to: user.email, from: from_address(@store), subject: "#{@store.name} #{I18n.t(:subject, :scope => [:devise, :mailer, :confirmation_instructions])}" end end end
Version data entries
5 entries across 5 versions & 1 rubygems