diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-01 18:09:54 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-01 18:09:54 +0300 |
commit | e1faff6544efe7f1b31e0e73312e7b832c00e6a4 (patch) | |
tree | c0dfc1987a15afd55e5a9819bc91ea9399e6a6e7 /app/controllers | |
parent | 02f6aecd47c847bb2a7d101678813fe5077ae299 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers')
-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 |