GeoRSS aggregator and Layar augmented reality server
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

user_mailer.rb 446 B

1234567891011121314
  1. class UserMailer < ActionMailer::Base
  2. default from: "from@example.com"
  3. # Subject can be set in your I18n file at config/locales/en.yml
  4. # with the following lookup:
  5. #
  6. # en.user_mailer.reset_password_email.subject
  7. #
  8. def reset_password_email(user)
  9. @user = user
  10. @url = "http://localhost:3000/password_resets/#{user.reset_password_token}/edit"
  11. mail(:to => user.email, :subject => "Your password has been reset")
  12. end
  13. end