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.
 
 
 
 
 

69 lines
1.9 KiB

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