debian-mirror-gitlab/app/mailers/emails/imports.rb
2023-03-17 16:20:25 +05:30

15 lines
363 B
Ruby

# frozen_string_literal: true
module Emails
module Imports
def github_gists_import_errors_email(user_id, errors)
@errors = errors
user = User.find(user_id)
email_with_layout(
to: user.notification_email_or_default,
subject: subject(s_('GithubImporter|GitHub Gists import finished with errors'))
)
end
end
end