Set ActionMailer configuration in FoodsoftConfig

This commit is contained in:
Patrick Gansterer 2017-08-17 23:49:34 +02:00
parent e6e8c845cd
commit 43c1833cd7
3 changed files with 8 additions and 18 deletions

View file

@ -1,7 +1,6 @@
class MessagesMailer < Mailer
# Sends an email copy of the given internal foodsoft message.
def foodsoft_message(message, recipient)
set_foodcoop_scope
@message = message
reply_email_domain = FoodsoftConfig[:reply_email_domain]