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 :repositories
20 resources :virtual_machines
21 resources :authorized_keys
24 post 'cancel', :on => :member
26 match '/logout' => 'sessions#destroy', via: [:get, :post]
27 get '/logged_out' => 'sessions#index'
29 get 'choose', :on => :collection
30 get 'home', :on => :member
31 get 'welcome', :on => :collection
32 get 'inactive', :on => :collection
33 get 'activity', :on => :collection
34 get 'storage', :on => :collection
35 post 'sudo', :on => :member
36 post 'unsetup', :on => :member
37 get 'setup_popup', :on => :member
38 get 'profile', :on => :member
40 get '/manage_account' => 'users#manage_account'
41 get "/add_ssh_key_popup" => 'users#add_ssh_key_popup', :as => :add_ssh_key_popup
42 get "/add_ssh_key" => 'users#add_ssh_key', :as => :add_ssh_key
44 resources :factory_jobs
45 resources :uploaded_datasets
47 get 'choose', on: :collection
50 resources :pipeline_templates do
51 get 'choose', on: :collection
53 resources :pipeline_instances do
54 get 'compare', on: :collection
55 post 'copy', on: :member
58 get '/collections/graph' => 'collections#graph'
59 resources :collections do
60 post 'set_persistent', on: :member
61 get 'sharing_popup', :on => :member
62 post 'share', :on => :member
63 post 'unshare', :on => :member
64 get 'choose', on: :collection
66 get('/collections/download/:uuid/:reader_token/*file' => 'collections#show_file',
68 get '/collections/download/:uuid/:reader_token' => 'collections#show_file_links'
69 get '/collections/:uuid/*file' => 'collections#show_file', :format => false
70 resources :projects do
71 match 'remove/:item_uuid', on: :member, via: :delete, action: :remove_item
72 match 'remove_items', on: :member, via: :delete, action: :remove_items
73 get 'choose', on: :collection
74 post 'share_with', on: :member
75 get 'tab_counts', on: :member
78 get 'choose', :on => :collection
81 post 'actions' => 'actions#post'
82 get 'actions' => 'actions#show'
83 get 'websockets' => 'websocket#index'
84 post "combine_selected" => 'actions#combine_selected_files_into_collection'
86 root :to => 'projects#index'
88 # Send unroutable requests to an arbitrary controller
89 # (ends up at ApplicationController#render_not_found)
90 match '*a', to: 'links#render_not_found', via: [:get, :post]