debian-mirror-gitlab/app/helpers/sentry_helper.rb

10 lines
149 B
Ruby
Raw Normal View History

2016-09-29 09:46:39 +05:30
module SentryHelper
def sentry_enabled?
Gitlab::Sentry.enabled?
end
def sentry_context
Gitlab::Sentry.context(current_user)
end
end