Commit 0713e4de authored by Albert Salim's avatar Albert Salim

Add verify feature categories to controller actions

parent 10da9f9f
......@@ -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
......
......@@ -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
......
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