Sha256: ecdd35b5c6f1bff218abb34746a0d1e9d4d846ebfc0c6843310384e44bdedfbf

Contents?: true

Size: 228 Bytes

Versions: 9

Compression:

Stored size: 228 Bytes

Contents

class PasswordMailer < ApplicationMailer
  def reset
    @token = params[:<%= singular_table_name %>].signed_id(purpose: "password_reset", expires_in: 15.minutes)
    mail to: params[:<%= singular_table_name %>].email
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
authentication-zero-0.0.9 lib/generators/authentication/templates/mailers/password_mailer.rb.tt
authentication-zero-0.0.8 lib/generators/authentication/templates/mailers/password_mailer.rb.tt
authentication-zero-0.0.7 lib/generators/authentication/templates/mailers/password_mailer.rb.tt
authentication-zero-0.0.6 lib/generators/authentication/templates/mailers/password_mailer.rb.tt
authentication-zero-0.0.5 lib/generators/authentication/templates/mailers/password_mailer.rb.tt
authentication-zero-0.0.4 lib/generators/authentication/templates/mailers/password_mailer.rb.tt
authentication-zero-0.0.3 lib/generators/authentication/templates/mailers/password_mailer.rb.tt
authentication-zero-0.0.2 lib/generators/authentication/templates/mailers/password_mailer.rb.tt
authentication-zero-0.0.1 lib/generators/authentication/templates/mailers/password_mailer.rb.tt