about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorRenato "Lond" Cerqueira <renato@lond.com.br>2020-02-01 15:42:12 +0100
committerGitHub <noreply@github.com>2020-02-01 15:42:12 +0100
commit37dc12dd5387935defcf625125a441dd161cc571 (patch)
tree9646c50ea3935ad972d28ab0a61d639464b5d38a /app
parent2f978abd8790ba2e1ef994a00627397c8ca8cb57 (diff)
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.
Diffstat (limited to 'app')
-rw-r--r--app/mailers/user_mailer.rb1
1 files changed, 1 insertions, 0 deletions
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