From a39b0711eefb07fb75294a68d635fb1323d24cf3 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 21 Oct 2023 12:36:21 -0400 Subject: Quotes can be submitted, although it is not encouraged --- app/mailers/quote_mailer.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 app/mailers/quote_mailer.rb (limited to 'app/mailers') diff --git a/app/mailers/quote_mailer.rb b/app/mailers/quote_mailer.rb new file mode 100644 index 0000000..1f3bddd --- /dev/null +++ b/app/mailers/quote_mailer.rb @@ -0,0 +1,7 @@ +class QuoteMailer < ApplicationMailer + def pending_quote_email + @quote = params[:quote] + # again, this is odd + mail(to: User.first.email, subject: "[Four Island] New quote pending moderation") + end +end -- cgit 1.4.1