app/mailers/admin/mailer.rb in typus-3.1.0.rc8 vs app/mailers/admin/mailer.rb in typus-3.1.0.rc9
- old
+ new
@@ -1,11 +1,10 @@
class Admin::Mailer < ActionMailer::Base
default :from => Typus.mailer_sender
def reset_password_link(user, url)
- @user = user
- @url = url
+ @user, @url = user, url
mail :to => user.email,
:subject => "[#{Typus.admin_title}] #{Typus::I18n.t("Reset password")}"
end