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