From 37dc12dd5387935defcf625125a441dd161cc571 Mon Sep 17 00:00:00 2001
From: "Renato \"Lond\" Cerqueira" <renato@lond.com.br>
Date: Sat, 1 Feb 2020 15:42:12 +0100
Subject: [PATCH] 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.
---
 app/mailers/user_mailer.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb
index c30bec80b9..88a11f7617 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
 
-- 
GitLab