debian-mirror-gitlab/app/mailers/emails/imports.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
363 B
Ruby
Raw Normal View History

2023-03-17 16:20:25 +05:30
# 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