From 71777a4a184945d6b58170af55d9fd9fef821ac9 Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Tue, 16 May 2017 19:41:15 +0800 Subject: Rename BuildsController to JobsController Rename other URL generators admin_builds_path -> admin_jobs_path Fix tests and more renaming Fix more tests Also change build_id to job_id in the controller --- config/routes/admin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/routes/admin.rb') diff --git a/config/routes/admin.rb b/config/routes/admin.rb index 48993420ed9..11e6f844de8 100644 --- a/config/routes/admin.rb +++ b/config/routes/admin.rb @@ -110,7 +110,7 @@ namespace :admin do resources :cohorts, only: :index - resources :builds, only: :index do + resources :jobs, only: :index do collection do post :cancel_all end -- cgit v1.2.1