GeoRSS aggregator and Layar augmented reality server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

routes.rb 1.8 KiB

12 years ago
12 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. Apollo::Application.routes.draw do
  2. resources :feeds
  3. # The priority is based upon order of creation:
  4. # first created -> highest priority.
  5. # Sample of regular route:
  6. # match 'products/:id' => 'catalog#view'
  7. # Keep in mind you can assign values other than :controller and :action
  8. # Sample of named route:
  9. # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
  10. # This route can be invoked with purchase_url(:id => product.id)
  11. # Sample resource route (maps HTTP verbs to controller actions automatically):
  12. # resources :products
  13. # Sample resource route with options:
  14. # resources :products do
  15. # member do
  16. # get 'short'
  17. # post 'toggle'
  18. # end
  19. #
  20. # collection do
  21. # get 'sold'
  22. # end
  23. # end
  24. # Sample resource route with sub-resources:
  25. # resources :products do
  26. # resources :comments, :sales
  27. # resource :seller
  28. # end
  29. # Sample resource route with more complex sub-resources
  30. # resources :products do
  31. # resources :comments
  32. # resources :sales do
  33. # get 'recent', :on => :collection
  34. # end
  35. # end
  36. # Sample resource route within a namespace:
  37. # namespace :admin do
  38. # # Directs /admin/products/* to Admin::ProductsController
  39. # # (app/controllers/admin/products_controller.rb)
  40. # resources :products
  41. # end
  42. # You can have the root of your site routed with "root"
  43. # just remember to delete public/index.html.
  44. root :to => 'feeds#index'
  45. # See how all your routes lay out with "rake routes"
  46. # This is a legacy wild controller route that's not recommended for RESTful applications.
  47. # Note: This route will make all actions in every controller accessible via GET requests.
  48. # match ':controller(/:action(/:id))(.:format)'
  49. end