X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f4ca9ad94a6bb006d1f3c7ba207837f1736d1247..609646134bcd8fc3a7fd500848220741ecc4a9d2:/apps/workbench/config/routes.rb diff --git a/apps/workbench/config/routes.rb b/apps/workbench/config/routes.rb index fc72ea2222..21cb7c40bc 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 @@ -96,6 +104,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'