diff options
Diffstat (limited to 'app/controllers/projects/tracing_controller.rb')
-rw-r--r-- | app/controllers/projects/tracing_controller.rb | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/app/controllers/projects/tracing_controller.rb b/app/controllers/projects/tracing_controller.rb deleted file mode 100644 index 45e773bf62b..00000000000 --- a/app/controllers/projects/tracing_controller.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -module Projects - class TracingController < Projects::ApplicationController - include ::Observability::ContentSecurityPolicy - - feature_category :tracing - - before_action :check_tracing_enabled - - def index; end - - def show - @trace_id = params[:id] - end - - private - - def check_tracing_enabled - render_404 unless Gitlab::Observability.tracing_enabled?(project) - end - end -end |