Use existing MascotHelper#instance_presenter
instead of local var in welcome
email template (#29759)
This commit is contained in:
parent
de740dfb9c
commit
c4feba4347
2 changed files with 3 additions and 4 deletions
|
@ -5,10 +5,11 @@ class UserMailer < Devise::Mailer
|
||||||
|
|
||||||
helper :accounts
|
helper :accounts
|
||||||
helper :application
|
helper :application
|
||||||
helper :instance
|
helper :mascot
|
||||||
helper :statuses
|
|
||||||
helper :formatting
|
helper :formatting
|
||||||
|
helper :instance
|
||||||
helper :routing
|
helper :routing
|
||||||
|
helper :statuses
|
||||||
|
|
||||||
before_action :set_instance
|
before_action :set_instance
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
- instance_presenter = InstancePresenter.new
|
|
||||||
|
|
||||||
= content_for :heading do
|
= content_for :heading do
|
||||||
.email-desktop-flex
|
.email-desktop-flex
|
||||||
.email-header-left
|
.email-header-left
|
||||||
|
|
Loading…
Reference in a new issue