summaryrefslogtreecommitdiff
path: root/app/helpers/accounts_helper.rb
blob: a4f1948053981983c0077801b8243c0e1abc4acc (plain)
1
2
3
4
5
6
7
# frozen_string_literal: true

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