Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9062c9f1
Commit
9062c9f1
authored
Jul 09, 2019
by
Sarah Yasonik
Committed by
Stan Hu
Jul 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Push feature flag for embedding metrics
parent
8ca71066
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
lib/gitlab/gon_helper.rb
lib/gitlab/gon_helper.rb
+5
-0
No files found.
lib/gitlab/gon_helper.rb
View file @
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment