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
25 get 'logs', :on => :member
27 match '/logout' => 'sessions#destroy', via: [:get, :post]
28 get '/logged_out' => 'sessions#index'
30 get 'choose', :on => :collection
31 get 'home', :on => :member
32 get 'welcome', :on => :collection
33 get 'inactive', :on => :collection
34 get 'activity', :on => :collection
35 get 'storage', :on => :collection
36 post 'sudo', :on => :member
37 post 'unsetup', :on => :member
38 get 'setup_popup', :on => :member
39 get 'profile', :on => :member
41 get '/manage_account' => 'users#manage_account'
42 get "/add_ssh_key_popup" => 'users#add_ssh_key_popup', :as => :add_ssh_key_popup
43 get "/add_ssh_key" => 'users#add_ssh_key', :as => :add_ssh_key
45 resources :factory_jobs
46 resources :uploaded_datasets
48 get 'choose', on: :collection
51 resources :pipeline_templates do
52 get 'choose', on: :collection
54 resources :pipeline_instances do
55 get 'compare', on: :collection
56 post 'copy', on: :member
59 get '/collections/graph' => 'collections#graph'
60 resources :collections do
61 post 'set_persistent', on: :member
62 get 'sharing_popup', :on => :member
63 post 'share', :on => :member
64 post 'unshare', :on => :member
65 get 'choose', on: :collection
67 get('/collections/download/:uuid/:reader_token/*file' => 'collections#show_file',
69 get '/collections/download/:uuid/:reader_token' => 'collections#show_file_links'
70 get '/collections/:uuid/*file' => 'collections#show_file', :format => false
71 resources :projects do
72 match 'remove/:item_uuid', on: :member, via: :delete, action: :remove_item
73 match 'remove_items', on: :member, via: :delete, action: :remove_items
74 get 'choose', on: :collection
75 post 'share_with', on: :member
76 get 'tab_counts', on: :member
79 get 'choose', :on => :collection
82 post 'actions' => 'actions#post'
83 get 'actions' => 'actions#show'
84 get 'websockets' => 'websocket#index'
85 post "combine_selected" => 'actions#combine_selected_files_into_collection'
87 root :to => 'projects#index'
89 # Send unroutable requests to an arbitrary controller
90 # (ends up at ApplicationController#render_not_found)
91 match '*a', to: 'links#render_not_found', via: [:get, :post]