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
16 resources :api_client_authorizations
17 resources :repositories
18 resources :virtual_machines
19 resources :authorized_keys
22 post 'cancel', :on => :member
24 match '/logout' => 'sessions#destroy', via: [:get, :post]
25 get '/logged_out' => 'sessions#index'
27 get 'choose', :on => :collection
28 get 'home', :on => :member
29 get 'welcome', :on => :collection
30 get 'activity', :on => :collection
31 get 'storage', :on => :collection
32 post 'sudo', :on => :member
33 post 'unsetup', :on => :member
34 get 'setup_popup', :on => :member
37 resources :factory_jobs
38 resources :uploaded_datasets
40 get 'choose', on: :collection
43 resources :pipeline_templates do
44 get 'choose', on: :collection
46 resources :pipeline_instances do
47 get 'compare', on: :collection
48 post 'copy', on: :member
51 get '/collections/graph' => 'collections#graph'
52 resources :collections do
53 post 'set_persistent', on: :member
54 get 'sharing_popup', :on => :member
55 post 'share', :on => :member
56 post 'unshare', :on => :member
57 get 'choose', on: :collection
59 get('/collections/download/:uuid/:reader_token/*file' => 'collections#show_file',
61 get '/collections/download/:uuid/:reader_token' => 'collections#show_file_links'
62 get '/collections/:uuid/*file' => 'collections#show_file', :format => false
63 resources :projects do
64 match 'remove/:item_uuid', on: :member, via: :delete, action: :remove_item
65 match 'remove_items', on: :member, via: :delete, action: :remove_items
66 get 'choose', on: :collection
67 post 'share_with', on: :member
70 post 'actions' => 'actions#post'
71 get 'websockets' => 'websocket#index'
73 root :to => 'projects#index'
75 # Send unroutable requests to an arbitrary controller
76 # (ends up at ApplicationController#render_not_found)
77 match '*a', to: 'links#render_not_found', via: [:get, :post]