mailer_controller.rb 220 B

123456789
  1. class Admin::MailerController < Admin::ApplicationController
  2. layout "email"
  3. def preview_thanks
  4. @actionPage = ActionPage.friendly.find params[:id]
  5. render file: "user_mailer/thanks_message.html.erb"
  6. end
  7. end