gitlab-org--gitlab-foss/app/helpers/sentry_helper.rb
2018-09-06 17:33:46 -07:00

11 lines
180 B
Ruby

# frozen_string_literal: true
module SentryHelper
def sentry_enabled?
Gitlab::Sentry.enabled?
end
def sentry_context
Gitlab::Sentry.context(current_user)
end
end