summaryrefslogtreecommitdiff
path: root/config/routes/admin.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/admin.rb')
-rw-r--r--config/routes/admin.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/routes/admin.rb b/config/routes/admin.rb
index 4d25f24a104..ef8939bc5a9 100644
--- a/config/routes/admin.rb
+++ b/config/routes/admin.rb
@@ -89,7 +89,13 @@ namespace :admin do
get :instance_review, to: 'instance_review#index'
- resources :background_migrations, only: [:index]
+ resources :background_migrations, only: [:index] do
+ member do
+ post :pause
+ post :resume
+ end
+ end
+
resource :health_check, controller: 'health_check', only: [:show]
resource :background_jobs, controller: 'background_jobs', only: [:show]