From 91f358942e8a02322423b7eb664985baf78510eb Mon Sep 17 00:00:00 2001 From: Dylan Griffith Date: Tue, 10 Apr 2018 14:29:06 +1000 Subject: Allow to pause,resume,show,edit,destroy group runners (#10244) --- config/routes/group.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config/routes') 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', -- cgit v1.2.1