summaryrefslogtreecommitdiff
path: root/app/helpers/accounts_helper.rb
blob: 5d27d30eaa3530b3d7f3d59e8864cc454eea1dc8 (plain)
1
2
3
4
5
module AccountsHelper
  def incoming_email_token_enabled?
    current_user.incoming_email_token && Gitlab::IncomingEmail.supports_issue_creation?
  end
end