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
42 post 'request_shell_access', :on => :member
44 get '/manage_account' => 'users#manage_account'
45 get "/add_ssh_key_popup" => 'users#add_ssh_key_popup', :as => :add_ssh_key_popup
46 get "/add_ssh_key" => 'users#add_ssh_key', :as => :add_ssh_key
48 resources :factory_jobs
49 resources :uploaded_datasets
51 get 'choose', on: :collection
54 resources :pipeline_templates do
55 get 'choose', on: :collection
57 resources :pipeline_instances do
58 get 'compare', on: :collection
59 post 'copy', on: :member
62 get '/collections/graph' => 'collections#graph'
63 resources :collections do
64 post 'set_persistent', on: :member
65 get 'sharing_popup', :on => :member
66 post 'share', :on => :member
67 post 'unshare', :on => :member
68 get 'choose', on: :collection
70 get('/collections/download/:uuid/:reader_token/*file' => 'collections#show_file',
72 get '/collections/download/:uuid/:reader_token' => 'collections#show_file_links'
73 get '/collections/:uuid/*file' => 'collections#show_file', :format => false
74 resources :projects do
75 match 'remove/:item_uuid', on: :member, via: :delete, action: :remove_item
76 match 'remove_items', on: :member, via: :delete, action: :remove_items
77 get 'choose', on: :collection
78 post 'share_with', on: :member
79 get 'tab_counts', on: :member
82 get 'choose', :on => :collection
85 post 'actions' => 'actions#post'
86 get 'actions' => 'actions#show'
87 get 'websockets' => 'websocket#index'
88 post "combine_selected" => 'actions#combine_selected_files_into_collection'
90 root :to => 'projects#index'
92 # Send unroutable requests to an arbitrary controller
93 # (ends up at ApplicationController#render_not_found)
94 match '*a', to: 'links#render_not_found', via: [:get, :post]