mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 14:31:25 +00:00
* 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>
13 lines
272 B
Ruby
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
|