Sha256: d0cd0da3dcb7ce26f99849e683c9c039819b1290037a6b5c520f55425865b664
Contents?: true
Size: 422 Bytes
Versions: 5
Compression:
Stored size: 422 Bytes
Contents
# frozen_string_literal: true module NoPassword class SessionsMailer < ApplicationMailer include NoPassword::WebTokens def send_token @session = params[:session] @title = t("mailers.send_token.subject") @friendly_token = @session.token @signed_token = token_to_url(sign_token(@friendly_token)) mail(to: @session.email, subject: t("mailers.send_token.subject")) end end end
Version data entries
5 entries across 5 versions & 1 rubygems