Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 12 lines (11 sloc) 0.41 kb
1 2 3 4 5 6 7 8 9 10 11 12
class Mailer < ActionMailer::Base
  default_url_options[:host] = HOST

  def email_reset(user)
    @user = user
    mail :from => Clearance.configuration.mailer_sender,
         :to => user.email,
         :subject => I18n.t(:confirmation,
                            :scope => [:clearance, :models, :clearance_mailer],
                            :default => "Email address confirmation")
  end
end
Something went wrong with that request. Please try again.