diff --git a/config/routes.rb b/config/routes.rb index 93df0cf..bfc479f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -19,7 +19,7 @@ Rails.application.routes.draw do resources :job_logs, only: [ :index, :show ] - resources :servers, only: [ :index, :show, :new, :destroy ] do + resources :servers, only: [ :index, :show, :new, :create, :destroy ] do resources :job_logs, only: [ :index ] member do post :spawn