GeoRSS aggregator and Layar augmented reality server
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 

76 Zeilen
2.1 KiB

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