Module: AccountsHelper

Defined in:
app/helpers/accounts_helper.rb

Instance Method Summary collapse

Instance Method Details

#incoming_email_token_enabled?Boolean

Returns:

  • (Boolean)

4
5
6
# File 'app/helpers/accounts_helper.rb', line 4

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