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

group_clusterable_presenter.rb « presenters « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5a893559f122355de4287798fc8f04aa261ca4bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

class GroupClusterablePresenter < ClusterablePresenter
  def cluster_status_cluster_path(cluster, params = {})
    cluster_status_group_cluster_path(clusterable, cluster, params)
  end

  def install_applications_cluster_path(cluster, application)
    install_applications_group_cluster_path(clusterable, cluster, application)
  end

  def cluster_path(cluster, params = {})
    group_cluster_path(clusterable, cluster, params)
  end

  def is_project?
    false
  end
end