diff options
Diffstat (limited to 'app/mailers')
-rw-r--r-- | app/mailers/quote_mailer.rb | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ | |||
1 | class QuoteMailer < ApplicationMailer | ||
2 | def pending_quote_email | ||
3 | @quote = params[:quote] | ||
4 | # again, this is odd | ||
5 | mail(to: User.first.email, subject: "[Four Island] New quote pending moderation") | ||
6 | end | ||
7 | end | ||