Commit 6b8ab70b authored by Stan Hu's avatar Stan Hu

Merge branch 'add-ff-embedding-metrics' into 'master'

Push feature flag for embedding metrics

See merge request gitlab-org/gitlab-ce!30342
parents 8ca71066 9062c9f1
...@@ -38,6 +38,11 @@ module Gitlab ...@@ -38,6 +38,11 @@ module Gitlab
gon.current_user_fullname = current_user.name gon.current_user_fullname = current_user.name
gon.current_user_avatar_url = current_user.avatar_url gon.current_user_avatar_url = current_user.avatar_url
end 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 end
# Exposes the state of a feature flag to the frontend code. # Exposes the state of a feature flag to the frontend code.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment