thingspeak/app/models/mailer.rb

12 lines
241 B
Ruby
Raw Normal View History

2011-03-27 22:56:15 +02:00
class Mailer < ActionMailer::Base
default :from => 'support@thingspeak.com'
2011-03-27 22:56:15 +02:00
def password_reset(user, webpage)
@user = user
@webpage = webpage
mail(:to => @user.email,
:subject => t(:password_reset_subject))
end
2011-03-27 22:56:15 +02:00
end