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