diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-04-10 14:29:06 +1000 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-07 08:54:07 +0200 |
commit | 91f358942e8a02322423b7eb664985baf78510eb (patch) | |
tree | 476b8c1cb50c5af692f6944b75746edf45e693cf /config/routes | |
parent | 1ef9e9c2aaaffb202f09bf6a245a01bfb5516b6e (diff) | |
download | gitlab-ce-91f358942e8a02322423b7eb664985baf78510eb.tar.gz |
Allow to pause,resume,show,edit,destroy group runners (#10244)
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/group.rb | 7 |
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', |