debian-mirror-gitlab/app/helpers/sentry_helper.rb
2016-09-29 09:46:39 +05:30

9 lines
149 B
Ruby

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