1 ArvadosWorkbench::Application.routes.draw do
5 resources :keep_services
6 resources :user_agreements do
7 put '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 match '/logout' => 'sessions#destroy', via: [:get, :post]
23 get '/logged_out' => 'sessions#index'
25 get 'home', :on => :member
26 get 'welcome', :on => :collection
27 get 'activity', :on => :collection
28 get 'storage', :on => :collection
29 post 'sudo', :on => :member
30 post 'unsetup', :on => :member
31 get 'setup_popup', :on => :member
34 resources :factory_jobs
35 resources :uploaded_datasets
38 resources :pipeline_templates
39 resources :pipeline_instances do
40 get 'compare', on: :collection
43 get '/collections/graph' => 'collections#graph'
44 resources :collections do
45 post 'set_persistent', on: :member
47 get('/collections/download/:uuid/:reader_token/*file' => 'collections#show_file',
49 get '/collections/download/:uuid/:reader_token' => 'collections#show_file_links'
50 get '/collections/:uuid/*file' => 'collections#show_file', :format => false
52 match 'remove/:item_uuid', on: :member, via: :delete, action: :remove_item
55 post 'actions' => 'actions#post'
56 get 'websockets' => 'websocket#index'
58 root :to => 'users#welcome'
60 # Send unroutable requests to an arbitrary controller
61 # (ends up at ApplicationController#render_not_found)
62 match '*a', to: 'links#render_not_found', via: [:get, :post]