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.
 
 
 
 
 

67 lines
1.9 KiB

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