app/mailers/quo_vadis/notifier.rb in quo_vadis-1.0.2 vs app/mailers/quo_vadis/notifier.rb in quo_vadis-1.0.3
- old
+ new
@@ -1,7 +1,9 @@
module QuoVadis
class Notifier < ActionMailer::Base
+ # Sends an email to <tt>user</tt> with a link to a page where they
+ # can change their password.
def change_password(user)
@username = user.username
@url = change_password_url user.token
mail :to => user.email, :from => QuoVadis.from, :subject => QuoVadis.subject
end