Skip to content

Commit

Permalink
Fix error when sending moderation notification (mastodon#13014)
Browse files Browse the repository at this point in the history
Since the statuses helper is not loaded, the rtl helper cannot be found
and the email cannot be sent.
  • Loading branch information
renatolond authored and multiple creatures committed Feb 21, 2020
1 parent a1105d3 commit 285ca19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/mailers/user_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class UserMailer < Devise::Mailer

helper :application
helper :instance
helper :statuses

add_template_helper RoutingHelper

Expand Down

0 comments on commit 285ca19

Please sign in to comment.