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 'home', :on => :member
28 get 'welcome', :on => :collection
29 get 'activity', :on => :collection
30 get 'storage', :on => :collection
31 post 'sudo', :on => :member
32 post 'unsetup', :on => :member
33 get 'setup_popup', :on => :member
36 resources :factory_jobs
37 resources :uploaded_datasets
40 resources :pipeline_templates do
41 get 'choose', on: :collection
43 resources :pipeline_instances do
44 get 'compare', on: :collection
45 post 'copy', on: :member
48 get '/collections/graph' => 'collections#graph'
49 resources :collections do
50 post 'set_persistent', on: :member
51 get 'sharing_popup', :on => :member
52 post 'share', :on => :member
53 post 'unshare', :on => :member
54 get 'choose', on: :collection
56 get('/collections/download/:uuid/:reader_token/*file' => 'collections#show_file',
58 get '/collections/download/:uuid/:reader_token' => 'collections#show_file_links'
59 get '/collections/:uuid/*file' => 'collections#show_file', :format => false
60 resources :projects do
61 match 'remove/:item_uuid', on: :member, via: :delete, action: :remove_item
62 match 'remove_items', on: :member, via: :delete, action: :remove_items
63 get 'choose', on: :collection
66 post 'actions' => 'actions#post'
67 get 'websockets' => 'websocket#index'
69 root :to => 'projects#index'
71 # Send unroutable requests to an arbitrary controller
72 # (ends up at ApplicationController#render_not_found)
73 match '*a', to: 'links#render_not_found', via: [:get, :post]