Sha256: 12ef74b6b2b1bbe592e6ecacfb2318f56b4a1989f23d07d3395521683ed2e94a

Contents?: true

Size: 193 Bytes

Versions: 2

Compression:

Stored size: 193 Bytes

Contents

class SessionMailer < ApplicationMailer
  def signed_in
    @session = params[:session]
    mail to: @session.<%= singular_table_name %>.email, subject: "New sign-in to your account"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
authentication-zero-2.1.1 lib/generators/authentication/templates/mailers/session_mailer.rb.tt
authentication-zero-2.1.0 lib/generators/authentication/templates/mailers/session_mailer.rb.tt