projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
closes #9426
[arvados.git]
/
apps
/
workbench
/
config
/
routes.rb
diff --git
a/apps/workbench/config/routes.rb
b/apps/workbench/config/routes.rb
index 7c2312c1cee57c7ffef86ad300539d8c575db5bf..bf7118f701f0071754ee8ee919436df02e4c1164 100644
(file)
--- a/
apps/workbench/config/routes.rb
+++ b/
apps/workbench/config/routes.rb
@@
-26,6
+26,7
@@
ArvadosWorkbench::Application.routes.draw do
resources :containers
resources :container_requests do
post 'cancel', :on => :member
resources :containers
resources :container_requests do
post 'cancel', :on => :member
+ post 'copy', on: :member
end
get '/virtual_machines/:id/webshell/:login' => 'virtual_machines#webshell', :as => :webshell_virtual_machine
resources :authorized_keys
end
get '/virtual_machines/:id/webshell/:login' => 'virtual_machines#webshell', :as => :webshell_virtual_machine
resources :authorized_keys
@@
-74,6
+75,7
@@
ArvadosWorkbench::Application.routes.draw do
get 'choose', on: :collection
end
resources :pipeline_instances do
get 'choose', on: :collection
end
resources :pipeline_instances do
+ post 'cancel', :on => :member
get 'compare', on: :collection
post 'copy', on: :member
end
get 'compare', on: :collection
post 'copy', on: :member
end
@@
-85,6
+87,9
@@
ArvadosWorkbench::Application.routes.draw do
post 'share', :on => :member
post 'unshare', :on => :member
get 'choose', on: :collection
post 'share', :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
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)
@@
-105,6
+110,11
@@
ArvadosWorkbench::Application.routes.draw do
resources :workflows
resources :workflows
+ get "trash" => 'trash_items#index', :as => :trash
+ resources :trash_items do
+ post 'untrash_items', on: :collection
+ end
+
post 'actions' => 'actions#post'
get 'actions' => 'actions#show'
get 'websockets' => 'websocket#index'
post 'actions' => 'actions#post'
get 'actions' => 'actions#show'
get 'websockets' => 'websocket#index'