Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/groups/observability_controller.rb')
-rw-r--r--app/controllers/groups/observability_controller.rb36
1 files changed, 0 insertions, 36 deletions
diff --git a/app/controllers/groups/observability_controller.rb b/app/controllers/groups/observability_controller.rb
deleted file mode 100644
index 525407f5849..00000000000
--- a/app/controllers/groups/observability_controller.rb
+++ /dev/null
@@ -1,36 +0,0 @@
-# frozen_string_literal: true
-module Groups
- class ObservabilityController < Groups::ApplicationController
- include ::Observability::ContentSecurityPolicy
-
- feature_category :tracing
-
- before_action :check_observability_allowed
-
- def dashboards
- render_observability
- end
-
- def manage
- render_observability
- end
-
- def explore
- render_observability
- end
-
- def datasources
- render_observability
- end
-
- private
-
- def render_observability
- render 'observability', layout: 'group', locals: { base_layout: 'layouts/fullscreen' }
- end
-
- def check_observability_allowed
- render_404 unless Gitlab::Observability.allowed_for_action?(current_user, group, params[:action])
- end
- end
-end