summaryrefslogtreecommitdiff
path: root/config/routes/project.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/project.rb')
-rw-r--r--config/routes/project.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 1fc6ed28c74..c5e7f98d7af 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -32,7 +32,10 @@ constraints(ProjectUrlConstrainer.new) do
resources :commit, only: [:show], constraints: { id: /\h{7,40}/ } do
member do
get :branches
+ get :builds
get :pipelines
+ post :cancel_builds
+ post :retry_builds
post :revert
post :cherry_pick
get :diff_for_path
@@ -91,6 +94,7 @@ constraints(ProjectUrlConstrainer.new) do
get :diffs
get :conflicts
get :conflict_for_path
+ get :builds
get :pipelines
get :merge_check
post :merge