diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-21 12:36:21 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-21 12:36:21 -0400 |
| commit | a39b0711eefb07fb75294a68d635fb1323d24cf3 (patch) | |
| tree | 04f234347bb4fe2a0ce4a83b48c1bb121c620a9b /app/mailers | |
| parent | 3bf957736f7ba79a0a0f30ace996ba05b0f33f15 (diff) | |
| download | thoughts-a39b0711eefb07fb75294a68d635fb1323d24cf3.tar.gz thoughts-a39b0711eefb07fb75294a68d635fb1323d24cf3.tar.bz2 thoughts-a39b0711eefb07fb75294a68d635fb1323d24cf3.zip | |
Quotes can be submitted, although it is not encouraged
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 | ||
