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:
authorFilipa Lacerda <filipa@gitlab.com>2017-10-27 18:48:02 +0300
committerFilipa Lacerda <filipa@gitlab.com>2017-10-27 18:48:02 +0300
commit5754908fee556062ab2e42a418bf192a0bf56402 (patch)
tree4b543ee3ae2c86f17e46d7bad520915324481031 /app/controllers/projects
parente9d352612371424592376b81d0a6c5ca234b9fb5 (diff)
Adds buttons to the first page.
Moves first page into a new one
Diffstat (limited to 'app/controllers/projects')
-rw-r--r--app/controllers/projects/clusters_controller.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/controllers/projects/clusters_controller.rb b/app/controllers/projects/clusters_controller.rb
index 03019b0becc..95e2f6a1257 100644
--- a/app/controllers/projects/clusters_controller.rb
+++ b/app/controllers/projects/clusters_controller.rb
@@ -26,10 +26,15 @@ class Projects::ClustersController < Projects::ApplicationController
end
end
- def new
+ # TODO fix this
+ def new_kubernetes_form
@cluster = project.build_cluster
end
+ def new
+ # First page!
+ end
+
def create
@cluster = Ci::CreateClusterService
.new(project, current_user, create_params)