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
15 get "rerun-job-with-options-popup" => 'jobs#rerun_job_with_options_popup', :as => :rerun_job_with_options_popup
16 post "rerun-job-with-options" => 'jobs#rerun_job_with_options', :as => :rerun_job_with_options
20 resources :api_client_authorizations
21 resources :virtual_machines
22 resources :authorized_keys
25 post 'cancel', :on => :member
26 get 'logs', :on => :member
28 resources :repositories do
29 post 'share_with', on: :member
31 match '/logout' => 'sessions#destroy', via: [:get, :post]
32 get '/logged_out' => 'sessions#index'
34 get 'choose', :on => :collection
35 get 'home', :on => :member
36 get 'welcome', :on => :collection
37 get 'inactive', :on => :collection
38 get 'activity', :on => :collection
39 get 'storage', :on => :collection
40 post 'sudo', :on => :member
41 post 'unsetup', :on => :member
42 get 'setup_popup', :on => :member
43 get 'profile', :on => :member
45 get '/manage_account' => 'users#manage_account'
46 get "/add_ssh_key_popup" => 'users#add_ssh_key_popup', :as => :add_ssh_key_popup
47 get "/add_ssh_key" => 'users#add_ssh_key', :as => :add_ssh_key
49 resources :factory_jobs
50 resources :uploaded_datasets
52 get 'choose', on: :collection
55 resources :pipeline_templates do
56 get 'choose', on: :collection
58 resources :pipeline_instances do
59 get 'compare', on: :collection
60 post 'copy', on: :member
63 get '/collections/graph' => 'collections#graph'
64 resources :collections do
65 post 'set_persistent', on: :member
66 get 'sharing_popup', :on => :member
67 post 'share', :on => :member
68 post 'unshare', :on => :member
69 get 'choose', on: :collection
71 get('/collections/download/:uuid/:reader_token/*file' => 'collections#show_file',
73 get '/collections/download/:uuid/:reader_token' => 'collections#show_file_links'
74 get '/collections/:uuid/*file' => 'collections#show_file', :format => false
75 resources :projects do
76 match 'remove/:item_uuid', on: :member, via: :delete, action: :remove_item
77 match 'remove_items', on: :member, via: :delete, action: :remove_items
78 get 'choose', on: :collection
79 post 'share_with', on: :member
80 get 'tab_counts', on: :member
83 get 'choose', :on => :collection
86 post 'actions' => 'actions#post'
87 get 'actions' => 'actions#show'
88 get 'websockets' => 'websocket#index'
89 post "combine_selected" => 'actions#combine_selected_files_into_collection'
91 root :to => 'projects#index'
93 # Send unroutable requests to an arbitrary controller
94 # (ends up at ApplicationController#render_not_found)
95 match '*a', to: 'links#render_not_found', via: [:get, :post]