debian-mirror-gitlab/app/controllers/projects/cluster_agents_controller.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
446 B
Ruby
Raw Normal View History

2021-11-18 22:05:49 +05:30
# frozen_string_literal: true
class Projects::ClusterAgentsController < Projects::ApplicationController
2023-05-27 22:25:52 +05:30
include KasCookie
2023-06-20 00:43:36 +05:30
before_action :authorize_read_cluster_agent!
2023-05-27 22:25:52 +05:30
before_action :set_kas_cookie, only: [:show], if: -> { current_user }
2021-11-18 22:05:49 +05:30
2023-06-20 00:43:36 +05:30
feature_category :deployment_management
2022-07-16 23:28:13 +05:30
urgency :low
2021-11-18 22:05:49 +05:30
def show
@agent_name = params[:name]
end
end
2021-12-11 22:18:48 +05:30
Projects::ClusterAgentsController.prepend_mod_with('Projects::ClusterAgentsController')