summaryrefslogtreecommitdiff
path: root/app/presenters/group_clusterable_presenter.rb
blob: 6da4dbfeaa41c584b4767d0fe5a06de4aad59e82 (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 project?
    false
  end
end