about summary refs log tree commit diff stats
path: root/app/mailers/quote_mailer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/mailers/quote_mailer.rb')
-rw-r--r--app/mailers/quote_mailer.rb7
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 @@
1class 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
7end