debian-mirror-gitlab/app/helpers/sentry_helper.rb
2018-12-05 23:21:45 +05:30

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