gitlab-org--gitlab-foss/app/helpers/sentry_helper.rb
2017-04-28 13:51:45 +01:00

9 lines
149 B
Ruby

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