diff options
author | Tristan Read <tread@gitlab.com> | 2019-08-09 23:35:43 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2019-08-09 23:35:43 +0300 |
commit | 5e6a58040bcfaa4c933027cddfad04810042b904 (patch) | |
tree | 98add06845bf9d558de38c9c1034ade7d05d9ce2 /lib/gitlab/gon_helper.rb | |
parent | 25dd49cda27b479a478eac861e1704812602d938 (diff) |
Remove gfm_embed_metrics flag from BE
Removes the feature flag that controls whether
metrics dashboard urls unfurl the metrics dashboard
charts.
Diffstat (limited to 'lib/gitlab/gon_helper.rb')
-rw-r--r-- | lib/gitlab/gon_helper.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/gitlab/gon_helper.rb b/lib/gitlab/gon_helper.rb index 41ec8741eb1..92917028851 100644 --- a/lib/gitlab/gon_helper.rb +++ b/lib/gitlab/gon_helper.rb @@ -38,11 +38,6 @@ module Gitlab gon.current_user_fullname = current_user.name gon.current_user_avatar_url = current_user.avatar_url end - - # Flag controls a GFM feature used across many routes. - # Pushing the flag from one place simplifies control - # and facilitates easy removal. - push_frontend_feature_flag(:gfm_embedded_metrics) end # Exposes the state of a feature flag to the frontend code. |