Use existing `MascotHelper#instance_presenter` instead of local var in `welcome` email template (#29759)

pull/29768/head^2
Matt Jankowski 1 year ago committed by GitHub
parent de740dfb9c
commit c4feba4347
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -5,10 +5,11 @@ class UserMailer < Devise::Mailer
helper :accounts
helper :application
helper :instance
helper :statuses
helper :mascot
helper :formatting
helper :instance
helper :routing
helper :statuses
before_action :set_instance

@ -1,5 +1,3 @@
- instance_presenter = InstancePresenter.new
= content_for :heading do
.email-desktop-flex
.email-header-left

Loading…
Cancel
Save