Remove unused @markdown from user mailer terms action (#38160)

This commit is contained in:
Matt Jankowski 2026-03-12 05:22:56 -04:00 committed by GitHub
parent 84d8020165
commit 2330f11cad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -216,7 +216,6 @@ class UserMailer < Devise::Mailer
def terms_of_service_changed(user, terms_of_service)
@resource = user
@terms_of_service = terms_of_service
@markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML, escape_html: true, no_images: true)
I18n.with_locale(locale) do
mail subject: default_i18n_subject