6 lines
156 B
Ruby
6 lines
156 B
Ruby
|
module AccountsHelper
|
||
|
def incoming_email_token_enabled?
|
||
|
current_user.incoming_email_token && Gitlab::IncomingEmail.supports_issue_creation?
|
||
|
end
|
||
|
end
|