Sha256: 1cb12df990575189f4491d25d3c036eb27a4dc4ab95d18b017fc6927e974cff6

Contents?: true

Size: 311 Bytes

Versions: 22

Compression:

Stored size: 311 Bytes

Contents

module Guts
  # Preview all emails at http://localhost:3000/rails/mailers/user_mailer
  class UserMailerPreview < ActionMailer::Preview
    # Preview this email at http://localhost:3000/rails/mailers/user_mailer/password_reset
    def password_reset
      UserMailer.password_reset User.first
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
guts-1.1.1 test/mailers/previews/guts/user_mailer_preview.rb
guts-1.1.0 test/mailers/previews/guts/user_mailer_preview.rb