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
0713e4de
Commit
0713e4de
authored
Nov 16, 2021
by
Albert Salim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add verify feature categories to controller actions
parent
10da9f9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
app/controllers/projects/badges_controller.rb
app/controllers/projects/badges_controller.rb
+2
-1
app/controllers/projects/graphs_controller.rb
app/controllers/projects/graphs_controller.rb
+3
-1
No files found.
app/controllers/projects/badges_controller.rb
View file @
0713e4de
...
...
@@ -6,7 +6,8 @@ class Projects::BadgesController < Projects::ApplicationController
before_action
:no_cache_headers
,
only:
[
:pipeline
,
:coverage
]
before_action
:authorize_read_build!
,
only:
[
:pipeline
,
:coverage
]
feature_category
:continuous_integration
feature_category
:continuous_integration
,
[
:index
,
:pipeline
]
feature_category
:code_testing
,
[
:coverage
]
def
pipeline
pipeline_status
=
Gitlab
::
Ci
::
Badge
::
Pipeline
::
Status
...
...
app/controllers/projects/graphs_controller.rb
View file @
0713e4de
...
...
@@ -11,9 +11,11 @@ class Projects::GraphsController < Projects::ApplicationController
track_redis_hll_event
:charts
,
name:
'p_analytics_repo'
feature_category
:source_code_management
feature_category
:source_code_management
,
[
:show
,
:commits
,
:languages
,
:charts
]
urgency
:low
,
[
:show
]
feature_category
:continuous_integration
,
[
:ci
]
def
show
respond_to
do
|
format
|
format
.
html
...
...
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