diff options
author | Renato "Lond" Cerqueira <renato@lond.com.br> | 2020-02-01 15:42:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-01 15:42:12 +0100 |
commit | 37dc12dd5387935defcf625125a441dd161cc571 (patch) | |
tree | 9646c50ea3935ad972d28ab0a61d639464b5d38a | |
parent | 2f978abd8790ba2e1ef994a00627397c8ca8cb57 (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.
-rw-r--r-- | app/mailers/user_mailer.rb | 1 |
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 |