Sha256: 3dd46aafe09f0da3cdb551f26b44b8e7d7ed34532193115d4e16a44c4f50eeb7
Contents?: true
Size: 308 Bytes
Versions: 11
Compression:
Stored size: 308 Bytes
Contents
class PasswordMailer < ApplicationMailer def changed mail to: params[:<%= singular_table_name %>].email end def reset @signed_id = params[:<%= singular_table_name %>].signed_id(purpose: "password_reset", expires_in: 20.minutes) mail to: params[:<%= singular_table_name %>].email end end
Version data entries
11 entries across 11 versions & 1 rubygems