projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 2.4.2 upgrade notes formatting refs #19330
[arvados.git]
/
apps
/
workbench
/
config
/
routes.rb
diff --git
a/apps/workbench/config/routes.rb
b/apps/workbench/config/routes.rb
index badb471d64ae666924fb06a21a408237bbed3f26..0bf8dffc67be2602760b68a55f2d2bd1580ac303 100644
(file)
--- a/
apps/workbench/config/routes.rb
+++ b/
apps/workbench/config/routes.rb
@@
-1,4
+1,8
@@
-ArvadosWorkbench::Application.routes.draw do
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+Rails.application.routes.draw do
themes_for_rails
resources :keep_disks
themes_for_rails
resources :keep_disks
@@
-43,8
+47,9
@@
ArvadosWorkbench::Application.routes.draw do
get '/repositories/:id/tree/:commit/*path' => 'repositories#show_tree', as: :show_repository_tree, format: false
get '/repositories/:id/blob/:commit/*path' => 'repositories#show_blob', as: :show_repository_blob, format: false
get '/repositories/:id/commit/:commit' => 'repositories#show_commit', as: :show_repository_commit
get '/repositories/:id/tree/:commit/*path' => 'repositories#show_tree', as: :show_repository_tree, format: false
get '/repositories/:id/blob/:commit/*path' => 'repositories#show_blob', as: :show_repository_blob, format: false
get '/repositories/:id/commit/:commit' => 'repositories#show_commit', as: :show_repository_commit
+ resources :sessions
match '/logout' => 'sessions#destroy', via: [:get, :post]
match '/logout' => 'sessions#destroy', via: [:get, :post]
- get '/logged_out' => 'sessions#
index
'
+ get '/logged_out' => 'sessions#
logged_out
'
resources :users do
get 'choose', :on => :collection
get 'home', :on => :member
resources :users do
get 'choose', :on => :collection
get 'home', :on => :member
@@
-60,6
+65,8
@@
ArvadosWorkbench::Application.routes.draw do
get 'virtual_machines', :on => :member
get 'repositories', :on => :member
get 'ssh_keys', :on => :member
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
end
get '/current_token' => 'users#current_token'
get "/add_ssh_key_popup" => 'users#add_ssh_key_popup', :as => :add_ssh_key_popup
@@
-88,6
+95,9
@@
ArvadosWorkbench::Application.routes.draw do
post 'unshare', :on => :member
get 'choose', on: :collection
post 'remove_selected_files', on: :member
post 'unshare', :on => :member
get 'choose', on: :collection
post 'remove_selected_files', on: :member
+ get 'tags', on: :member
+ post 'save_tags', on: :member
+ get 'multisite', on: :collection, to: redirect('/search')
end
get('/collections/download/:uuid/:reader_token/*file' => 'collections#show_file',
format: false)
end
get('/collections/download/:uuid/:reader_token/*file' => 'collections#show_file',
format: false)
@@
-120,6
+130,13
@@
ArvadosWorkbench::Application.routes.draw do
root :to => 'projects#index'
root :to => 'projects#index'
+ match '/_health/:check', to: 'management#health', via: [:get]
+ match '/metrics', to: 'management#metrics', via: [:get]
+
+ get '/tests/mithril', to: 'tests#mithril'
+
+ get '/status', to: 'status#status'
+
# Send unroutable requests to an arbitrary controller
# (ends up at ApplicationController#render_not_found)
match '*a', to: 'links#render_not_found', via: [:get, :post]
# Send unroutable requests to an arbitrary controller
# (ends up at ApplicationController#render_not_found)
match '*a', to: 'links#render_not_found', via: [:get, :post]