Push feature flag for embedding metrics
This commit is contained in:
parent
8ca710668f
commit
9062c9f11b
1 changed files with 5 additions and 0 deletions
|
@ -38,6 +38,11 @@ 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.
|
||||
|
|
Loading…
Reference in a new issue