diff options
author | Phil Hughes <me@iamphill.com> | 2017-05-24 11:17:39 +0300 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2017-05-24 15:55:50 +0300 |
commit | 309e5974f1ef14a28e2a9104ed5c45cfa7d98243 (patch) | |
tree | b1286956c1013b6841bbb0eecc47c349a612121d /lib | |
parent | f50598f704817115927ea478bd1a4138bd66edb5 (diff) |
Merge branch 'sentry-clientside-releases' into 'master'
Read HEAD commit and use as sentry releases value
Closes #32535
See merge request !11565
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/gon_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/gon_helper.rb b/lib/gitlab/gon_helper.rb index 26473f99bc3..1e09cb5ca11 100644 --- a/lib/gitlab/gon_helper.rb +++ b/lib/gitlab/gon_helper.rb @@ -12,6 +12,7 @@ module Gitlab gon.katex_js_url = ActionController::Base.helpers.asset_path('katex.js') gon.sentry_dsn = current_application_settings.clientside_sentry_dsn if current_application_settings.clientside_sentry_enabled gon.gitlab_url = Gitlab.config.gitlab.url + gon.revision = Gitlab::REVISION if current_user gon.current_user_id = current_user.id |