app/mailers/mail_preview.rb in hackathon_manager-0.7.1 vs app/mailers/mail_preview.rb in hackathon_manager-0.8.0
- old
+ new
@@ -1,23 +1,6 @@
if defined?(ActionMailer::Preview)
class MailPreview < ActionMailer::Preview
- def application_confirmation_email
- questionnaire = Questionnaire.first
- Mailer.application_confirmation_email(questionnaire.id)
- end
-
- def rsvp_confirmation_email
- Mailer.rsvp_confirmation_email(Questionnaire.first.id)
- end
-
- def accepted_email
- Mailer.accepted_email(Questionnaire.first.id)
- end
-
- def denied_email
- Mailer.denied_email(Questionnaire.first.id)
- end
-
def bulk_message_email
message = Message.first
Mailer.bulk_message_email(message, User.first.id)
end