gitlab-org--gitlab-foss/app/helpers/accounts_helper.rb

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

8 lines
187 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module AccountsHelper
def incoming_email_token_enabled?
current_user.incoming_email_token && Gitlab::IncomingEmail.supports_issue_creation?
end
end