Commit d7565cc3 authored by Kaspar Vollenweider's avatar Kaspar Vollenweider

feat(text-changes): email to freiwillige@aoz.ch

parent 9d408346
class ApplicationMailer < ActionMailer::Base
default from: '"Freiwillige AOZ" <info@aoz-freiwillige.ch>'
default from: '"Freiwillige AOZ" <freiwillige@aoz.ch>'
layout 'mailer'
end
......@@ -13,7 +13,7 @@ p
= t("devise.mailer.#{@resource.role}.invitation_instructions.accept_until", due_date: l(@resource.invitation_due_at, format: :'devise.mailer.invitation_instructions.accept_until_format'))
p
== t("devise.mailer.#{@resource.role}.invitation_instructions.having_trouble", email: mail_to('info@aoz-freiwillige.ch'))
== t("devise.mailer.#{@resource.role}.invitation_instructions.having_trouble", email: mail_to('freiwillige@aoz.ch'))
p
== t("devise.mailer.#{@resource.role}.invitation_instructions.greetings")
......@@ -8,6 +8,6 @@
= strip_tags t("devise.mailer.#{@resource.role}.invitation_instructions.accept_until",
due_date: l(@resource.invitation_due_at, format: :'devise.mailer.invitation_instructions.accept_until_format'))
= "\r\n"
= strip_tags t("devise.mailer.#{@resource.role}.invitation_instructions.having_trouble", email: mail_to('info@aoz-freiwillige.ch'))
= strip_tags t("devise.mailer.#{@resource.role}.invitation_instructions.having_trouble", email: mail_to('freiwillige@aoz.ch'))
= "\r\n"
= strip_tags t("devise.mailer.#{@resource.role}.invitation_instructions.greetings")
......@@ -12,7 +12,7 @@ Devise.setup do |config|
# Configure the e-mail address which will be shown in Devise::Mailer,
# note that it will be overwritten if you use your own mailer class
# with default "from" parameter.
config.mailer_sender = '"Freiwillige AOZ" <info@aoz-freiwillige.ch>'
config.mailer_sender = '"Freiwillige AOZ" <freiwillige@aoz.ch>'
# Configure the class responsible to send e-mails.
# config.mailer = 'Devise::Mailer'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment