From: Renato "Lond" Cerqueira Date: Sat, 1 Feb 2020 14:42:12 +0000 (+0100) Subject: Fix error when sending moderation notification (#13014) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=37dc12dd5387935defcf625125a441dd161cc571;p=mastodon.git Fix error when sending moderation notification (#13014) Since the statuses helper is not loaded, the rtl helper cannot be found and the email cannot be sent. --- diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb index c30bec80b..88a11f761 100644 --- a/app/mailers/user_mailer.rb +++ b/app/mailers/user_mailer.rb @@ -6,6 +6,7 @@ class UserMailer < Devise::Mailer helper :accounts helper :application helper :instance + helper :statuses add_template_helper RoutingHelper