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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2017-12-04 19:02:18 +0300
committerMatija Čupić <matteeyah@gmail.com>2017-12-04 19:02:18 +0300
commitf1357a1e15bead6b58c049357c765dd991c04d9b (patch)
tree709346bc20234117281b74ff4cd67390ba9ad737 /app/controllers/projects/clusters_controller.rb
parenta42b43ce7a9146ac1035328f2bc1cfc5f06e9371 (diff)
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