summaryrefslogtreecommitdiff
path: root/config/routes/project.rb
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-09-26 17:46:09 +0900
committerShinya Maeda <shinya@gitlab.com>2017-09-26 17:46:09 +0900
commitd65cd0a68066c20250a3b7cbf5f6e3767f359c41 (patch)
tree003953aec64bb03b1dba6141437f27f50c8f3b3c /config/routes/project.rb
parentbdc618c289b8c2b996a3ef92b7748966c311d28a (diff)
downloadgitlab-ce-d65cd0a68066c20250a3b7cbf5f6e3767f359c41.tar.gz
Tie KubernetesService
Diffstat (limited to 'config/routes/project.rb')
-rw-r--r--config/routes/project.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 5a43e2274a6..27160d8c364 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -183,10 +183,11 @@ constraints(ProjectUrlConstrainer.new) do
end
end
- resources :clusters, except: [:show, :destroy] do
+ resources :clusters, except: [:edit, :show, :destroy] do
collection do
get :gcp_projects # TODO: This doesn't belong here. Grape or under user. Hint. Serilizer
get :gke_zones
+ get :edit
end
end