GeoRSS aggregator and Layar augmented reality server
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

12 роки тому
12 роки тому
11 роки тому
12 роки тому
12 роки тому
12 роки тому
12 роки тому
12 роки тому
11 роки тому
12 роки тому
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Apollo::Application.routes.draw do
  2. get "logout" => "sessions#destroy", :as => "logout"
  3. get "login" => "sessions#new", :as => "login"
  4. resources :layers
  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 => 'layers#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