Files
sure/app/mailers/pdf_import_mailer.rb
sentry[bot] d09765a14c Add mailer subject tests and refine i18n keys (#910)
* Add mailer subject tests and refine i18n keys

* Linter

* Fix test

* More fixes

* More fixes

---------

Co-authored-by: sentry[bot] <39604003+sentry[bot]@users.noreply.github.com>
Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
2026-02-05 19:47:01 +01:00

13 lines
272 B
Ruby

class PdfImportMailer < ApplicationMailer
def next_steps
@user = params[:user]
@pdf_import = params[:pdf_import]
@import_url = import_url(@pdf_import)
mail(
to: @user.email,
subject: t(".subject", product_name: product_name)
)
end
end