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
committermultiple creatures <dev@multiple-creature.party>2020-02-21 02:51:04 -0600
commit285ca19caa37207a2a71ff61efc87e43a8030f57 (patch)
treefff49cb8d5a05f1d8f85b701a87f9920af0eed9e /app
parenta1105d37a3145297175c21e3f79643ff514f4c23 (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 8f3a4ab3a..942cee874 100644
--- a/app/mailers/user_mailer.rb
+++ b/app/mailers/user_mailer.rb
@@ -5,6 +5,7 @@ class UserMailer < Devise::Mailer
 
   helper :application
   helper :instance
+  helper :statuses
 
   add_template_helper RoutingHelper