GeoRSS aggregator and Layar augmented reality server
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

routes.rb 2.1 KiB

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