Answers for "rails get action mail stats"

0

preview mailers rails

# located in test/mailers/previews/notifier_mailer_preview.rb

class NotifierPreview < ActionMailer::Preview
  # Accessible from http://localhost:3000/rails/mailers/notifier/welcome
  def welcome
    Notifier.welcome(User.first)
  end
end
Posted by: Guest on April-16-2020

Browse Popular Code Answers by Language