1 ArvadosWorkbench::Application.routes.draw do
5 resources :keep_services
6 resources :user_agreements do
7 post 'sign', on: :collection
8 get 'signatures', on: :collection
10 get '/user_agreements/signatures' => 'user_agreements#signatures'
11 get "users/setup_popup" => 'users#setup_popup', :as => :setup_user_popup
12 get "users/setup" => 'users#setup', :as => :setup_user
13 get "report_issue_popup" => 'actions#report_issue_popup', :as => :report_issue_popup
14 post "report_issue" => 'actions#report_issue', :as => :report_issue
18 resources :api_client_authorizations
19 resources :virtual_machines
20 resources :authorized_keys
23 post 'cancel', :on => :member
24 get 'logs', :on => :member
26 resources :repositories do
27 post 'share_with', on: :member
29 match '/logout' => 'sessions#destroy', via: [:get, :post]
30 get '/logged_out' => 'sessions#index'
32 get 'choose', :on => :collection
33 get 'home', :on => :member
34 get 'welcome', :on => :collection
35 get 'inactive', :on => :collection
36 get 'activity', :on => :collection
37 get 'storage', :on => :collection
38 post 'sudo', :on => :member
39 post 'unsetup', :on => :member
40 get 'setup_popup', :on => :member
41 get 'profile', :on => :member
43 get '/manage_account' => 'users#manage_account'
44 get "/add_ssh_key_popup" => 'users#add_ssh_key_popup', :as => :add_ssh_key_popup
45 get "/add_ssh_key" => 'users#add_ssh_key', :as => :add_ssh_key
47 resources :factory_jobs
48 resources :uploaded_datasets
50 get 'choose', on: :collection
53 resources :pipeline_templates do
54 get 'choose', on: :collection
56 resources :pipeline_instances do
57 get 'compare', on: :collection
58 post 'copy', on: :member
61 get '/collections/graph' => 'collections#graph'
62 resources :collections do
63 post 'set_persistent', on: :member
64 get 'sharing_popup', :on => :member
65 post 'share', :on => :member
66 post 'unshare', :on => :member
67 get 'choose', on: :collection
69 get('/collections/download/:uuid/:reader_token/*file' => 'collections#show_file',
71 get '/collections/download/:uuid/:reader_token' => 'collections#show_file_links'
72 get '/collections/:uuid/*file' => 'collections#show_file', :format => false
73 resources :projects do
74 match 'remove/:item_uuid', on: :member, via: :delete, action: :remove_item
75 match 'remove_items', on: :member, via: :delete, action: :remove_items
76 get 'choose', on: :collection
77 post 'share_with', on: :member
78 get 'tab_counts', on: :member
81 get 'choose', :on => :collection
84 post 'actions' => 'actions#post'
85 get 'actions' => 'actions#show'
86 get 'websockets' => 'websocket#index'
87 post "combine_selected" => 'actions#combine_selected_files_into_collection'
89 root :to => 'projects#index'
91 # Send unroutable requests to an arbitrary controller
92 # (ends up at ApplicationController#render_not_found)
93 match '*a', to: 'links#render_not_found', via: [:get, :post]