summaryrefslogtreecommitdiff
path: root/app/controllers/projects/clusters_controller.rb
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2017-12-04 17:02:18 +0100
committerMatija Čupić <matteeyah@gmail.com>2017-12-04 17:02:18 +0100
commitf1357a1e15bead6b58c049357c765dd991c04d9b (patch)
tree709346bc20234117281b74ff4cd67390ba9ad737 /app/controllers/projects/clusters_controller.rb
parenta42b43ce7a9146ac1035328f2bc1cfc5f06e9371 (diff)
downloadgitlab-ce-f1357a1e15bead6b58c049357c765dd991c04d9b.tar.gz
Remove references of project.cluster from specs
Diffstat (limited to 'app/controllers/projects/clusters_controller.rb')
-rw-r--r--app/controllers/projects/clusters_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/clusters_controller.rb b/app/controllers/projects/clusters_controller.rb
index 2843045fdc4..789a6254e2d 100644
--- a/app/controllers/projects/clusters_controller.rb
+++ b/app/controllers/projects/clusters_controller.rb
@@ -75,7 +75,7 @@ class Projects::ClustersController < Projects::ApplicationController
end
format.html do
flash[:notice] = "Cluster was successfully updated."
- redirect_to project_cluster_path(project, project.cluster)
+ redirect_to project_cluster_path(project, cluster)
end
end
else