summaryrefslogtreecommitdiff
path: root/config/routes
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-03-03 15:59:25 +0900
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-03-23 17:11:48 +0900
commitba27f1b954e79713ec1905b46ee5ba1b940418f0 (patch)
tree740464cf3bc1c20fe45755e96e474261b9eac090 /config/routes
parent0e06cfc059af0b70b366ab1eaf75f7601fdcb5e1 (diff)
downloadgitlab-ce-ba27f1b954e79713ec1905b46ee5ba1b940418f0.tar.gz
Expose only status. ci_cd_status to status. Support abstract class.
Diffstat (limited to 'config/routes')
-rw-r--r--config/routes/project.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 2c6d4518772..1df066ff55d 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -102,7 +102,7 @@ constraints(ProjectUrlConstrainer.new) do
get :merge_widget_refresh
post :cancel_merge_when_pipeline_succeeds
get :ci_status
- get :ci_cd_status
+ get :status
get :ci_environments_status
post :toggle_subscription
post :remove_wip
@@ -153,7 +153,7 @@ constraints(ProjectUrlConstrainer.new) do
post :cancel
post :retry
get :builds
- get :ci_cd_status
+ get :status
end
end
@@ -205,7 +205,6 @@ constraints(ProjectUrlConstrainer.new) do
post :erase
get :trace
get :raw
- get :ci_cd_status
end
resource :artifacts, only: [] do