diff --git a/app/controllers/concerns/controllers/user/authorization.rb b/app/controllers/concerns/controllers/user/authorization.rb index 60a35d17..0c98b076 100644 --- a/app/controllers/concerns/controllers/user/authorization.rb +++ b/app/controllers/concerns/controllers/user/authorization.rb @@ -32,7 +32,7 @@ module Controllers::User::Authorization store_location if current_user flash[:notice] = - "It looks like you're not allowed to access that page. If this seems like a mistake, please contact #{Houdini.support_email}" + "It looks like you're not allowed to access that page. If this seems like a mistake, please contact #{Houdini.hoster.support_email}" redirect_to root_path else msg ||= 'We need to sign you in before you can do that.' diff --git a/app/mailers/admin_mailer.rb b/app/mailers/admin_mailer.rb index 84939f5c..f5bee7bb 100644 --- a/app/mailers/admin_mailer.rb +++ b/app/mailers/admin_mailer.rb @@ -11,6 +11,6 @@ class AdminMailer < BaseMailer def notify_failed_gift(donation, campaign_gift_option) @campaign_gift_option = campaign_gift_option @donation = donation - mail subject: "Tried to associate donation #{donation.id} with campaign gift option #{campaign_gift_option.id} which is out of stock", to: Houdini.support_email, from: Houdini.support_email + mail subject: "Tried to associate donation #{donation.id} with campaign gift option #{campaign_gift_option.id} which is out of stock", to: Houdini.hoster.support_email, from: Houdini.hoster.support_email end end diff --git a/app/mailers/base_mailer.rb b/app/mailers/base_mailer.rb index a3ba45df..f646e750 100644 --- a/app/mailers/base_mailer.rb +++ b/app/mailers/base_mailer.rb @@ -7,6 +7,6 @@ class BaseMailer < ActionMailer::Base include Devise::Controllers::UrlHelpers include ApplicationHelper helper ApplicationHelper - default from: Houdini.support_email + default from: Houdini.hoster.support_email layout 'email' end diff --git a/app/mailers/generic_mailer.rb b/app/mailers/generic_mailer.rb index 090408aa..3279adea 100644 --- a/app/mailers/generic_mailer.rb +++ b/app/mailers/generic_mailer.rb @@ -7,12 +7,12 @@ class GenericMailer < BaseMailer @from_email = from_email @from_name = from_name @message = message - mail(to: to_email, from: "#{from_name} <#{Houdini.support_email}>", reply_to: from_email, subject: subject.to_s) + mail(to: to_email, from: "#{from_name} <#{Houdini.hoster.support_email}>", reply_to: from_email, subject: subject.to_s) end # For sending a system notice to super admins def admin_notice(options) - @from_email = Houdini.support_email + @from_email = Houdini.hoster.support_email @from_name = 'CC Bot' @message = options[:body] emails = QueryUsers.super_admin_emails diff --git a/app/models/import_request.rb b/app/models/import_request.rb index 72f746cf..537a1ac0 100644 --- a/app/models/import_request.rb +++ b/app/models/import_request.rb @@ -14,10 +14,10 @@ class ImportRequest < ApplicationRecord rescue Exception => e body = "Import failed. Error: #{e}" GenericMailer.generic_mail( - Houdini.support_email, Houdini.support_email, # FROM + Houdini.hoster.support_email, Houdini.hoster.support_email, # FROM body, 'Import error', # SUBJECT - Houdini.support_email, Houdini.support_email # TO + Houdini.hoster.support_email, Houdini.hoster.support_email # TO ).deliver end end diff --git a/app/views/billing_subscription_mailer/failed_notice.html.erb b/app/views/billing_subscription_mailer/failed_notice.html.erb index 31e70dcf..6fa7bab7 100644 --- a/app/views/billing_subscription_mailer/failed_notice.html.erb +++ b/app/views/billing_subscription_mailer/failed_notice.html.erb @@ -16,7 +16,7 @@ Unfortunately, the credit card we currently have on file (<%= @card.name %>, exp

-If you have any questions or concerns, please feel free to call us (888) 204-8792 or to email <%= Houdini.support_email %> and we'll respond promptly to help. +If you have any questions or concerns, please feel free to call us (888) 204-8792 or to email <%= Houdini.hoster.support_email %> and we'll respond promptly to help.



diff --git a/app/views/billing_subscriptions/cancellation.html.erb b/app/views/billing_subscriptions/cancellation.html.erb index f34ccdd2..3e647ec2 100644 --- a/app/views/billing_subscriptions/cancellation.html.erb +++ b/app/views/billing_subscriptions/cancellation.html.erb @@ -9,7 +9,7 @@

By cancelling your subscription, we will move you onto the 2.0% tier and your card will no longer get charged.

-

Contact <%= Houdini.support_email %> if you need any help with exports or migrations.

+

Contact <%= Houdini.hoster.support_email %> if you need any help with exports or migrations.

diff --git a/app/views/campaign_mailer/federated_creation_followup.html.erb b/app/views/campaign_mailer/federated_creation_followup.html.erb index 1bc4201e..80b4ddb7 100644 --- a/app/views/campaign_mailer/federated_creation_followup.html.erb +++ b/app/views/campaign_mailer/federated_creation_followup.html.erb @@ -48,7 +48,7 @@ link_to_campaign: content_tag(:strong,

<%= t('campaign_mailer.if_you_need_help_email_support', email_support: content_tag(:strong, - Houdini.support_email) + Houdini.hoster.support_email) )%>

<%= render 'emails/sig' %> diff --git a/app/views/components/_footer_sub.html.erb b/app/views/components/_footer_sub.html.erb index b88eff84..7e31e9ab 100644 --- a/app/views/components/_footer_sub.html.erb +++ b/app/views/components/_footer_sub.html.erb @@ -13,9 +13,9 @@ <% if current_user %> - <% if Houdini.terms_and_privacy&.help_url %><%= link_to("Help", Houdini.terms_and_privacy.help_url) %><% end %> + <% if Houdini.hoster.terms_and_privacy&.help_url %><%= link_to("Help", Houdini.terms_and_privacy.help_url) %><% end %> <% else %> - <% if Houdini.terms_and_privacy&.about_url %><%= link_to("About", Houdini.terms_and_privacy.about_url) %><% end %> + <% if Houdini.hoster.terms_and_privacy&.about_url %><%= link_to("About", Houdini.terms_and_privacy.about_url) %><% end %> <% end %> diff --git a/app/views/emails/_sig.html.erb b/app/views/emails/_sig.html.erb index be20f46d..4c09ea6d 100644 --- a/app/views/emails/_sig.html.erb +++ b/app/views/emails/_sig.html.erb @@ -5,5 +5,5 @@

All the best,

The CommitChange Team
-<%= Houdini.support_email %> +<%= Houdini.hoster.support_email %>

diff --git a/app/views/event_mailer/creation_followup.html.erb b/app/views/event_mailer/creation_followup.html.erb index 00ad1b07..9ec2fe55 100644 --- a/app/views/event_mailer/creation_followup.html.erb +++ b/app/views/event_mailer/creation_followup.html.erb @@ -18,6 +18,6 @@

Note: You can still share an unpublished event, but it will not show up on your nonprofit profile page or on your event listing page.


-

If you need some help getting your event up and running, don't hesitate to contact <%= Houdini.support_email %>.

+

If you need some help getting your event up and running, don't hesitate to contact <%= Houdini.hoster.support_email %>.

<%= render 'emails/sig' %> diff --git a/app/views/export_mailer/export_payments_completed_notification.html.erb b/app/views/export_mailer/export_payments_completed_notification.html.erb index 7cfcbf1f..6214d911 100644 --- a/app/views/export_mailer/export_payments_completed_notification.html.erb +++ b/app/views/export_mailer/export_payments_completed_notification.html.erb @@ -6,6 +6,6 @@

Note: your generated CSV file will be automatically deleted from our servers after seven days. Don't worry; you can always visit your payments panel and export a new CSV file.

-

If you have any questions about this export, please contact <%= Houdini.support_email %>.

+

If you have any questions about this export, please contact <%= Houdini.hoster.support_email %>.

<%= render 'emails/sig' %> diff --git a/app/views/export_mailer/export_payments_failed_notification.html.erb b/app/views/export_mailer/export_payments_failed_notification.html.erb index a537b91b..42e5fb49 100644 --- a/app/views/export_mailer/export_payments_failed_notification.html.erb +++ b/app/views/export_mailer/export_payments_failed_notification.html.erb @@ -2,7 +2,7 @@ # Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>

Your export from <%= Format::Date.simple @export.created_at %> did not succeed due to a technical error.

While CommitChange engineers have been notified, don't hesitate to contact - <%= Houdini.support_email %> with the following information:

+ <%= Houdini.hoster.support_email %> with the following information: