debian-mirror-gitlab/app/helpers/accounts_helper.rb

6 lines
156 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
module AccountsHelper
def incoming_email_token_enabled?
current_user.incoming_email_token && Gitlab::IncomingEmail.supports_issue_creation?
end
end