X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/10dc1ca759592b7281265ac1378bda126c979208..bfdecdcaf7dbeabfacc0efefb864e0024dbef9ab:/services/api/config/routes.rb diff --git a/services/api/config/routes.rb b/services/api/config/routes.rb index b54c3c5bf1..98f5788d65 100644 --- a/services/api/config/routes.rb +++ b/services/api/config/routes.rb @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: AGPL-3.0 -Server::Application.routes.draw do +Rails.application.routes.draw do themes_for_rails # OPTIONS requests are not allowed at routes that use cookies. @@ -81,8 +81,8 @@ Server::Application.routes.draw do post 'activate', on: :member post 'setup', on: :collection post 'unsetup', on: :member - post 'update_uuid', on: :member post 'merge', on: :collection + patch 'batch_update', on: :collection end resources :virtual_machines do get 'logins', on: :member @@ -92,6 +92,8 @@ Server::Application.routes.draw do end end + post '/sys/trash_sweep', to: 'sys#trash_sweep' + if Rails.env == 'test' post '/database/reset', to: 'database#reset' end