Split AccountsHelper from StatusesHelper (#12078)
This commit is contained in:
parent
a9530e29a2
commit
a6269b2f83
10 changed files with 178 additions and 162 deletions
|
@ -3,7 +3,7 @@
|
|||
class AdminMailer < ApplicationMailer
|
||||
layout 'plain_mailer'
|
||||
|
||||
helper :statuses
|
||||
helper :accounts
|
||||
|
||||
def new_report(recipient, report)
|
||||
@report = report
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class NotificationMailer < ApplicationMailer
|
||||
helper :accounts
|
||||
helper :statuses
|
||||
|
||||
add_template_helper RoutingHelper
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
class UserMailer < Devise::Mailer
|
||||
layout 'mailer'
|
||||
|
||||
helper :accounts
|
||||
helper :application
|
||||
helper :instance
|
||||
helper :statuses
|
||||
|
||||
add_template_helper RoutingHelper
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue