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
diff options
context:
space:
mode:
authorDylan Griffith <dyl.griffith@gmail.com>2018-04-10 07:29:06 +0300
committerDylan Griffith <dyl.griffith@gmail.com>2018-05-07 09:54:07 +0300
commit91f358942e8a02322423b7eb664985baf78510eb (patch)
tree476b8c1cb50c5af692f6944b75746edf45e693cf /config/routes/group.rb
parent1ef9e9c2aaaffb202f09bf6a245a01bfb5516b6e (diff)
Allow to pause,resume,show,edit,destroy group runners (#10244)
Diffstat (limited to 'config/routes/group.rb')
-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',