debian-mirror-gitlab/app/helpers/accounts_helper.rb
2018-12-05 23:21:45 +05:30

7 lines
187 B
Ruby

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