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
7e23815a
Commit
7e23815a
authored
Aug 20, 2019
by
Mark Florian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explain why flags are pushed for many actions
parent
84392dae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ee/app/controllers/ee/projects/pipelines_controller.rb
ee/app/controllers/ee/projects/pipelines_controller.rb
+4
-0
No files found.
ee/app/controllers/ee/projects/pipelines_controller.rb
View file @
7e23815a
...
...
@@ -7,6 +7,10 @@ module EE
extend
::
Gitlab
::
Utils
::
Override
prepended
do
# Since feature flags are pushed only once on page load, we need to
# ensure they're pushed for all tabs in the pipelines view. This is
# because the user can freely navigate between them *without*
# triggering a page load.
before_action
only:
[
:show
,
:builds
,
:failures
,
:security
,
:licenses
]
do
push_frontend_feature_flag
(
:pipeline_report_api
)
end
...
...
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