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 jaren geleden
12 jaren geleden
12 jaren geleden
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. # Sample resource route (maps HTTP verbs to controller actions automatically):
  16. # resources :products
  17. # Sample resource route with options:
  18. # resources :products do
  19. # member do
  20. # get 'short'
  21. # post 'toggle'
  22. # end
  23. #
  24. # collection do
  25. # get 'sold'
  26. # end
  27. # end
  28. # Sample resource route with sub-resources:
  29. # resources :products do
  30. # resources :comments, :sales
  31. # resource :seller
  32. # end
  33. # Sample resource route with more complex sub-resources
  34. # resources :products do
  35. # resources :comments
  36. # resources :sales do
  37. # get 'recent', :on => :collection
  38. # end
  39. # end
  40. # Sample resource route within a namespace:
  41. # namespace :admin do
  42. # # Directs /admin/products/* to Admin::ProductsController
  43. # # (app/controllers/admin/products_controller.rb)
  44. # resources :products
  45. # end
  46. # You can have the root of your site routed with "root"
  47. # just remember to delete public/index.html.
  48. root :to => 'feeds#index'
  49. # See how all your routes lay out with "rake routes"
  50. # This is a legacy wild controller route that's not recommended for RESTful applications.
  51. # Note: This route will make all actions in every controller accessible via GET requests.
  52. # match ':controller(/:action(/:id))(.:format)'
  53. end