]> cat aescling's git repositories - mastodon.git/commitdiff
Fix error when sending moderation notification (#13014)
authorRenato "Lond" Cerqueira <renato@lond.com.br>
Sat, 1 Feb 2020 14:42:12 +0000 (15:42 +0100)
committerGitHub <noreply@github.com>
Sat, 1 Feb 2020 14:42:12 +0000 (15:42 +0100)
Since the statuses helper is not loaded, the rtl helper cannot be found
and the email cannot be sent.

app/mailers/user_mailer.rb

index c30bec80b90417a026612004775fabdb0d3f1874..88a11f7617fc4225c2a1f876304f567a773a15f9 100644 (file)
@@ -6,6 +6,7 @@ class UserMailer < Devise::Mailer
   helper :accounts
   helper :application
   helper :instance
+  helper :statuses
 
   add_template_helper RoutingHelper