Sha256: 0b969658ede7589fbced4fa54e333ef50b30740f10e7746ea89fe9dfe16303f5

Contents?: true

Size: 249 Bytes

Versions: 10

Compression:

Stored size: 249 Bytes

Contents

class Admin::UserMailer < Admin::ApplicationMailer
  def password_reset
    @user = params[:user]
    @signed_id = @user.signed_id(purpose: :password_reset, expires_in: 20.minutes)

    mail to: @user.email, subject: "Reset your password"
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
administration-zero-1.0.4 lib/generators/admin/install/templates/mailers/admin/user_mailer.rb
administration-zero-1.0.3 lib/generators/admin/install/templates/mailers/admin/user_mailer.rb
administration-zero-1.0.2 lib/generators/admin/install/templates/mailers/admin/user_mailer.rb
administration-zero-1.0.1 lib/generators/admin/install/templates/mailers/admin/user_mailer.rb
administration-zero-1.0.0 lib/generators/admin/install/templates/mailers/admin/user_mailer.rb
administration-zero-0.0.18 lib/generators/admin/install/templates/mailers/admin/user_mailer.rb
administration-zero-0.0.17 lib/generators/admin/install/templates/mailers/admin/user_mailer.rb
administration-zero-0.0.16 lib/generators/admin/install/templates/mailers/admin/user_mailer.rb
administration-zero-0.0.15 lib/generators/admin/install/templates/mailers/admin/user_mailer.rb
administration-zero-0.0.14 lib/generators/admin/install/templates/mailers/admin/user_mailer.rb