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.

63 lines
1.8 KiB

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