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