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 "star" => 'actions#star', :as => :star
16 get "all_processes" => 'work_units#index', :as => :all_processes
20 resources :api_client_authorizations
21 resources :virtual_machines
23 resources :container_requests do
24 post 'cancel', :on => :member
26 get '/virtual_machines/:id/webshell/:login' => 'virtual_machines#webshell', :as => :webshell_virtual_machine
27 resources :authorized_keys
30 post 'cancel', :on => :member
31 get 'logs', :on => :member
33 resources :repositories do
34 post 'share_with', on: :member
36 # {format: false} prevents rails from treating "foo.png" as foo?format=png
37 get '/repositories/:id/tree/:commit' => 'repositories#show_tree'
38 get '/repositories/:id/tree/:commit/*path' => 'repositories#show_tree', as: :show_repository_tree, format: false
39 get '/repositories/:id/blob/:commit/*path' => 'repositories#show_blob', as: :show_repository_blob, format: false
40 get '/repositories/:id/commit/:commit' => 'repositories#show_commit', as: :show_repository_commit
41 match '/logout' => 'sessions#destroy', via: [:get, :post]
42 get '/logged_out' => 'sessions#index'
44 get 'choose', :on => :collection
45 get 'home', :on => :member
46 get 'welcome', :on => :collection
47 get 'inactive', :on => :collection
48 get 'activity', :on => :collection
49 get 'storage', :on => :collection
50 post 'sudo', :on => :member
51 post 'unsetup', :on => :member
52 get 'setup_popup', :on => :member
53 get 'profile', :on => :member
54 post 'request_shell_access', :on => :member
55 get 'virtual_machines', :on => :member
56 get 'repositories', :on => :member
57 get 'ssh_keys', :on => :member
59 get '/current_token' => 'users#current_token'
60 get "/add_ssh_key_popup" => 'users#add_ssh_key_popup', :as => :add_ssh_key_popup
61 get "/add_ssh_key" => 'users#add_ssh_key', :as => :add_ssh_key
63 resources :factory_jobs
64 resources :uploaded_datasets
66 get 'choose', on: :collection
69 resources :pipeline_templates do
70 get 'choose', on: :collection
72 resources :pipeline_instances do
73 get 'compare', on: :collection
74 post 'copy', on: :member
77 get '/collections/graph' => 'collections#graph'
78 resources :collections do
79 post 'set_persistent', on: :member
80 get 'sharing_popup', :on => :member
81 post 'share', :on => :member
82 post 'unshare', :on => :member
83 get 'choose', on: :collection
85 get('/collections/download/:uuid/:reader_token/*file' => 'collections#show_file',
87 get '/collections/download/:uuid/:reader_token' => 'collections#show_file_links'
88 get '/collections/:uuid/*file' => 'collections#show_file', :format => false
89 resources :projects do
90 match 'remove/:item_uuid', on: :member, via: :delete, action: :remove_item
91 match 'remove_items', on: :member, via: :delete, action: :remove_items
92 get 'choose', on: :collection
93 post 'share_with', on: :member
94 get 'tab_counts', on: :member
95 get 'public', on: :collection
99 get 'choose', :on => :collection
104 post 'actions' => 'actions#post'
105 get 'actions' => 'actions#show'
106 get 'websockets' => 'websocket#index'
107 post "combine_selected" => 'actions#combine_selected_files_into_collection'
109 root :to => 'projects#index'
111 # Send unroutable requests to an arbitrary controller
112 # (ends up at ApplicationController#render_not_found)
113 match '*a', to: 'links#render_not_found', via: [:get, :post]