summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-05-07 15:45:42 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2018-05-07 15:45:42 +0000
commit8ba7b602c8adc57cff546caaf51527ce49e7da0f (patch)
treef488ced8b1d3fd98ec22b13116dc6ba96298d6b5 /config
parentd0cbef7e8f4faf76b9a528a4629517f29b8c265b (diff)
parentd100396d4bc65114707148216a13b5ab9bc483f7 (diff)
downloadgitlab-ce-8ba7b602c8adc57cff546caaf51527ce49e7da0f.tar.gz
Merge branch '10244-ux-improvements-for-group-runners' into 'master'
Improve UX For Group Runners See merge request gitlab-org/gitlab-ce!18649
Diffstat (limited to 'config')
-rw-r--r--config/routes/group.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb
index 170508e893d..7c4c3d370e0 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -58,6 +58,13 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
# On CE only index and show actions are needed
resources :boards, only: [:index, :show]
+
+ resources :runners, only: [:index, :edit, :update, :destroy, :show] do
+ member do
+ post :resume
+ post :pause
+ end
+ end
end
scope(path: '*id',