Rails-based website for local business
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

62 lines
1.8 KiB

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