diff options
author | Mario de la Ossa <mariodelaossa@gmail.com> | 2017-12-20 00:24:36 +0300 |
---|---|---|
committer | Mario de la Ossa <mariodelaossa@gmail.com> | 2017-12-27 18:23:09 +0300 |
commit | f88d5974bbc3646587a9c15e9054e63fdb746a20 (patch) | |
tree | d47dad649fb20509121cd1983f2524828a3280b4 /config/routes | |
parent | 3d56d93fc53308ad384a0aa22df970b58ea543e9 (diff) |
Add pause/resume button to specific project runners
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/project.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index 239b5480321..c3ad53a387f 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -383,8 +383,8 @@ constraints(ProjectUrlConstrainer.new) do resources :runners, only: [:index, :edit, :update, :destroy, :show] do member do - get :resume - get :pause + post :resume + post :pause end collection do |