add ApiClient#is_trusted, show list of api tokens in Workbench
[arvados.git] / apps / workbench / config / routes.rb
1 ArvadosWorkbench::Application.routes.draw do
2   resources :api_client_authorizations
3   resources :repositories
4   resources :virtual_machines
5   resources :authorized_keys
6   resources :job_tasks
7   resources :jobs
8   match '/logout' => 'sessions#destroy'
9   match '/logged_out' => 'sessions#index'
10   resources :users do
11     get 'home', :on => :member
12     get 'welcome', :on => :collection
13   end
14   resources :logs
15   resources :factory_jobs
16   resources :uploaded_datasets
17   resources :groups
18   resources :specimens
19   resources :pipeline_templates
20   resources :pipeline_instances
21   resources :links
22   match '/collections/graph' => 'collections#graph'
23   resources :collections
24   root :to => 'users#welcome'
25
26   # Send unroutable requests to an arbitrary controller
27   # (ends up at ApplicationController#render_not_found)
28   match '*a', :to => 'links#render_not_found'
29 end