Sha256: 10fa47212b3e336b02374d2f81375376c1f5d4b7e9a476c9eef5c2b498f6fe84

Contents?: true

Size: 344 Bytes

Versions: 22

Compression:

Stored size: 344 Bytes

Contents

module Guts
  # Handles sending user-related emails
  class UserMailer < ApplicationMailer
    # Sends a password reset email to the user
    # @param [Object] user the user object
    def password_reset(user)
      @user  = user
      @token = user.password_token
      
      mail to: @user.email, subject: 'Reset Password'
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
guts-3.1.2 app/mailers/guts/user_mailer.rb
guts-3.1.1 app/mailers/guts/user_mailer.rb
guts-3.1.0 app/mailers/guts/user_mailer.rb
guts-3.0.1 app/mailers/guts/user_mailer.rb
guts-3.0.0 app/mailers/guts/user_mailer.rb
guts-2.1.0 app/mailers/guts/user_mailer.rb
guts-2.0.2 app/mailers/guts/user_mailer.rb
guts-2.0.1 app/mailers/guts/user_mailer.rb
guts-2.0.0 app/mailers/guts/user_mailer.rb
guts-1.4.0 app/mailers/guts/user_mailer.rb
guts-1.3.6 app/mailers/guts/user_mailer.rb
guts-1.3.5 app/mailers/guts/user_mailer.rb
guts-1.3.4 app/mailers/guts/user_mailer.rb
guts-1.3.3 app/mailers/guts/user_mailer.rb
guts-1.3.2 app/mailers/guts/user_mailer.rb
guts-1.3.1 app/mailers/guts/user_mailer.rb
guts-1.3.0 app/mailers/guts/user_mailer.rb
guts-1.2.2 app/mailers/guts/user_mailer.rb
guts-1.2.1 app/mailers/guts/user_mailer.rb
guts-1.2.0 app/mailers/guts/user_mailer.rb