diff options
author | João Cunha <j.a.cunha@gmail.com> | 2019-03-04 13:08:53 +0300 |
---|---|---|
committer | jerasmus <jerasmus@gitlab.com> | 2019-03-05 09:32:51 +0300 |
commit | 1186a6fd5408737f1995ac16ffc18f6aaf431cce (patch) | |
tree | d1527b51e86d197ddd216190efeb41fb39d95bc1 /app/views/clusters | |
parent | f8234d9a086a43a95698da13d2734fe62ddb9ad7 (diff) |
Sends update route to the client
- extends presenters to include update endpoint path
- sends path to the client on clusters clusters show view.
Diffstat (limited to 'app/views/clusters')
-rw-r--r-- | app/views/clusters/clusters/show.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/clusters/clusters/show.html.haml b/app/views/clusters/clusters/show.html.haml index 1ef76ef801e..7d381c6d4a6 100644 --- a/app/views/clusters/clusters/show.html.haml +++ b/app/views/clusters/clusters/show.html.haml @@ -15,6 +15,7 @@ install_runner_path: clusterable.install_applications_cluster_path(@cluster, :runner), install_jupyter_path: clusterable.install_applications_cluster_path(@cluster, :jupyter), install_knative_path: clusterable.install_applications_cluster_path(@cluster, :knative), + update_knative_path: clusterable.update_applications_cluster_path(@cluster, :knative), toggle_status: @cluster.enabled? ? 'true': 'false', has_rbac: @cluster.platform_kubernetes_rbac? ? 'true': 'false', cluster_type: @cluster.cluster_type, |