mailers: fix Rails 6.1 incompatibility.
`add_template_helper` is removed in Rails 6.1.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
class UserMailer < ApplicationMailer
|
class UserMailer < ApplicationMailer
|
||||||
add_template_helper ApplicationHelper
|
helper :application
|
||||||
add_template_helper UsersHelper
|
helper :users
|
||||||
|
|
||||||
def dmail_notice(dmail)
|
def dmail_notice(dmail)
|
||||||
@dmail = dmail
|
@dmail = dmail
|
||||||
|
|||||||
Reference in New Issue
Block a user