GeoRSS aggregator and Layar augmented reality server
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

61 lignes
1.8 KiB

  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