summaryrefslogtreecommitdiff
path: root/app/presenters/project_clusterable_presenter.rb
blob: 12077b2e7352d4da44b7d407d46b3b18cfc849a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class ProjectClusterablePresenter < ClusterablePresenter
  def cluster_status_cluster_path(cluster, params = {})
    cluster_status_project_cluster_path(clusterable, cluster, params)
  end

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

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