From 8f1d8e2c56e3afbf1f3d003de527546632a84453 Mon Sep 17 00:00:00 2001 From: evazion Date: Sun, 13 Dec 2020 02:14:57 -0600 Subject: [PATCH] mailers: fix Rails 6.1 incompatibility. `add_template_helper` is removed in Rails 6.1. --- app/mailers/user_mailer.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb index 787ccf252..b15c195b9 100644 --- a/app/mailers/user_mailer.rb +++ b/app/mailers/user_mailer.rb @@ -1,6 +1,6 @@ class UserMailer < ApplicationMailer - add_template_helper ApplicationHelper - add_template_helper UsersHelper + helper :application + helper :users def dmail_notice(dmail) @dmail = dmail