app/mailers/clearance_mailer.rb in clearance-0.11.1 vs app/mailers/clearance_mailer.rb in clearance-0.11.2

- old
+ new

@@ -1,10 +1,10 @@ class ClearanceMailer < ActionMailer::Base def change_password(user) @user = user - from Clearance.configuration.mailer_sender - recipients @user.email - subject I18n.t(:change_password, - :scope => [:clearance, :models, :clearance_mailer], - :default => "Change your password") + mail :from => Clearance.configuration.mailer_sender, + :to => @user.email, + :subject => I18n.t(:change_password, + :scope => [:clearance, :models, :clearance_mailer], + :default => "Change your password") end end