Merge branch '17995-filter-by-comparing-attrs'
[arvados.git] / services / api / config / routes.rb
index b54c3c5bf170cc431140a0925b9846e7f172b397..738426b1d8b06e007f2c62dbf0d91ba6311c8672 100644 (file)
@@ -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