X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/32e3f6eb604d3692f10f16220a78e07c056be00e..6f62739bee508c9b2b8c4ce2f2593fe1714cfda6:/apps/workbench/config/routes.rb diff --git a/apps/workbench/config/routes.rb b/apps/workbench/config/routes.rb index fc72ea2222..0eef73f8ae 100644 --- a/apps/workbench/config/routes.rb +++ b/apps/workbench/config/routes.rb @@ -13,13 +13,21 @@ ArvadosWorkbench::Application.routes.draw do get "report_issue_popup" => 'actions#report_issue_popup', :as => :report_issue_popup post "report_issue" => 'actions#report_issue', :as => :report_issue get "star" => 'actions#star', :as => :star + get "all_processes" => 'work_units#index', :as => :all_processes + get "choose_work_unit_templates" => 'work_unit_templates#choose', :as => :choose_work_unit_templates + resources :work_units do + post 'show_child_component', :on => :member + end resources :nodes resources :humans resources :traits resources :api_client_authorizations resources :virtual_machines resources :containers - resources :container_requests + 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 resources :job_tasks @@ -67,6 +75,7 @@ ArvadosWorkbench::Application.routes.draw do get 'choose', on: :collection end resources :pipeline_instances do + post 'cancel', :on => :member get 'compare', on: :collection post 'copy', on: :member end @@ -78,6 +87,7 @@ ArvadosWorkbench::Application.routes.draw do post 'share', :on => :member post 'unshare', :on => :member get 'choose', on: :collection + post 'remove_selected_files', on: :member end get('/collections/download/:uuid/:reader_token/*file' => 'collections#show_file', format: false) @@ -96,6 +106,8 @@ ArvadosWorkbench::Application.routes.draw do get 'choose', :on => :collection end + resources :workflows + post 'actions' => 'actions#post' get 'actions' => 'actions#show' get 'websockets' => 'websocket#index'