add authorized_keys
[arvados.git] / apps / workbench / config / routes.rb
1 ArvadosWorkbench::Application.routes.draw do
2   resources :authorized_keys
3
4
5   resources :job_tasks
6
7
8   resources :jobs
9
10
11   match '/logout' => 'sessions#destroy'
12   match '/logged_out' => 'sessions#index'
13
14
15   resources :users
16
17
18   resources :logs
19
20
21   resources :factory_jobs
22   match '/factory_jobs/reset_pipeline_instance/:uuid' => 'factory_jobs#reset_pipeline_instance', :as => 'reset_pipeline_instance', :via => 'POST'
23
24
25   resources :uploaded_datasets
26
27
28   resources :groups
29
30
31   resources :specimens
32
33
34   resources :pipeline_templates
35
36
37   resources :pipeline_instances
38
39
40   resources :links
41
42   match '/collections/graph' => 'collections#graph'
43
44   resources :collections
45
46   root :to => 'collections#index'
47
48   # Send unroutable requests to an arbitrary controller
49   # (ends up at ApplicationController#render_not_found)
50   match '*a', :to => 'links#render_not_found'
51
52
53   # The priority is based upon order of creation:
54   # first created -> highest priority.
55
56   # Sample of regular route:
57   #   match 'products/:id' => 'catalog#view'
58   # Keep in mind you can assign values other than :controller and :action
59
60   # Sample of named route:
61   #   match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
62   # This route can be invoked with purchase_url(:id => product.id)
63
64   # Sample resource route (maps HTTP verbs to controller actions automatically):
65   #   resources :products
66
67   # Sample resource route with options:
68   #   resources :products do
69   #     member do
70   #       get 'short'
71   #       post 'toggle'
72   #     end
73   #
74   #     collection do
75   #       get 'sold'
76   #     end
77   #   end
78
79   # Sample resource route with sub-resources:
80   #   resources :products do
81   #     resources :comments, :sales
82   #     resource :seller
83   #   end
84
85   # Sample resource route with more complex sub-resources
86   #   resources :products do
87   #     resources :comments
88   #     resources :sales do
89   #       get 'recent', :on => :collection
90   #     end
91   #   end
92
93   # Sample resource route within a namespace:
94   #   namespace :admin do
95   #     # Directs /admin/products/* to Admin::ProductsController
96   #     # (app/controllers/admin/products_controller.rb)
97   #     resources :products
98   #   end
99
100   # You can have the root of your site routed with "root"
101   # just remember to delete public/index.html.
102   # root :to => 'welcome#index'
103
104   # See how all your routes lay out with "rake routes"
105
106   # This is a legacy wild controller route that's not recommended for RESTful applications.
107   # Note: This route will make all actions in every controller accessible via GET requests.
108   # match ':controller(/:action(/:id))(.:format)'
109 end