#
# SPDX-License-Identifier: AGPL-3.0
-ArvadosWorkbench::Application.routes.draw do
+Rails.application.routes.draw do
themes_for_rails
resources :keep_disks
get 'virtual_machines', :on => :member
get 'repositories', :on => :member
get 'ssh_keys', :on => :member
+ get 'link_account', :on => :collection
+ post 'link_account', :on => :collection, :action => :merge
end
get '/current_token' => 'users#current_token'
get "/add_ssh_key_popup" => 'users#add_ssh_key_popup', :as => :add_ssh_key_popup
get 'actions' => 'actions#show'
get 'websockets' => 'websocket#index'
post "combine_selected" => 'actions#combine_selected_files_into_collection'
- get 'link_account' => 'link_account#index'
- post 'link_account' => 'link_account#merge'
root :to => 'projects#index'
- match '/_health/ping', to: 'healthcheck#ping', via: [:get]
+ match '/_health/:check', to: 'management#health', via: [:get]
+ match '/metrics', to: 'management#metrics', via: [:get]
get '/tests/mithril', to: 'tests#mithril'