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
path: root/config
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-05-06 00:09:42 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-05-06 00:09:42 +0300
commit53288eeb6300a5c162f146b13d1710c71f0ee197 (patch)
tree790faa45cf2a56bb0022ef02f989ddbd8ab0c0d9 /config
parent38ceebb9b3a541f8530b379d5b5ab5e13ffc58ed (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config')
-rw-r--r--config/routes/pipelines.rb1
-rw-r--r--config/routes/project.rb6
2 files changed, 7 insertions, 0 deletions
diff --git a/config/routes/pipelines.rb b/config/routes/pipelines.rb
index 9b236a8ce17..cc3c3400526 100644
--- a/config/routes/pipelines.rb
+++ b/config/routes/pipelines.rb
@@ -15,6 +15,7 @@ resources :pipelines, only: [:index, :new, :create, :show, :destroy] do
post :cancel
post :retry
get :builds
+ get :dag
get :failures
get :status
get :test_report
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 864750d228f..ac8f621b2b6 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -90,6 +90,12 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
post :create_deploy_token, path: 'deploy_token/create'
post :cleanup
end
+
+ resources :access_tokens, only: [:index, :create] do
+ member do
+ put :revoke
+ end
+ end
end
resources :autocomplete_sources, only: [] do