diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-10-27 12:14:01 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-10-27 12:14:01 +0100 |
commit | 41a98b654372532c389e720a0ecd08b9a9884b6d (patch) | |
tree | aff32a956d3d12d67b94e3193cd3a8d6b8446b9b /app/mailers | |
parent | 18c07738a6b0fa3558863dbb1610695ab6f11b74 (diff) | |
parent | 4988ebba4e31aff5dee657836cf059b5843d9eb8 (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Conflicts: - README.md - app/helpers/statuses_helper.rb Upstream moved account helpers to their own file, we had extra helpers there, moved too. - app/lib/sanitize_config.rb - app/models/user.rb - app/serializers/initial_state_serializer.rb - config/locales/simple_form.en.yml - spec/lib/sanitize_config_spec.rb
Diffstat (limited to 'app/mailers')
-rw-r--r-- | app/mailers/admin_mailer.rb | 2 | ||||
-rw-r--r-- | app/mailers/notification_mailer.rb | 1 | ||||
-rw-r--r-- | app/mailers/user_mailer.rb | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/app/mailers/admin_mailer.rb b/app/mailers/admin_mailer.rb index 8abce5f05..11fd09e30 100644 --- a/app/mailers/admin_mailer.rb +++ b/app/mailers/admin_mailer.rb @@ -3,7 +3,7 @@ class AdminMailer < ApplicationMailer layout 'plain_mailer' - helper :statuses + helper :accounts def new_report(recipient, report) @report = report diff --git a/app/mailers/notification_mailer.rb b/app/mailers/notification_mailer.rb index 723d901fc..9d8a7886c 100644 --- a/app/mailers/notification_mailer.rb +++ b/app/mailers/notification_mailer.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true class NotificationMailer < ApplicationMailer + helper :accounts helper :statuses add_template_helper RoutingHelper diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb index 6b81f6873..c30bec80b 100644 --- a/app/mailers/user_mailer.rb +++ b/app/mailers/user_mailer.rb @@ -3,9 +3,9 @@ class UserMailer < Devise::Mailer layout 'mailer' + helper :accounts helper :application helper :instance - helper :statuses add_template_helper RoutingHelper |