summaryrefslogtreecommitdiff
path: root/app/controllers/projects/cluster_agents_controller.rb
blob: bd58bd3e470cfb0dcce0f6c07010731acf2f4608 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

class Projects::ClusterAgentsController < Projects::ApplicationController
  include KasCookie

  before_action :authorize_read_cluster_agent!
  before_action :set_kas_cookie, only: [:show], if: -> { current_user }

  feature_category :deployment_management
  urgency :low

  def show
    @agent_name = params[:name]
  end
end

Projects::ClusterAgentsController.prepend_mod_with('Projects::ClusterAgentsController')