A corporation manager and dashboard for EVE Online
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.
 
 
 
 
 

57 lines
1.6 KiB

  1. Rails.application.routes.draw do
  2. # The priority is based upon order of creation: first created -> highest priority.
  3. # See how all your routes lay out with "rake routes".
  4. # You can have the root of your site routed with "root"
  5. root 'application#hello'
  6. # Example of regular route:
  7. # get 'products/:id' => 'catalog#view'
  8. # Example of named route that can be invoked with purchase_url(id: product.id)
  9. # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
  10. # Example resource route (maps HTTP verbs to controller actions automatically):
  11. # resources :products
  12. # Example resource route with options:
  13. # resources :products do
  14. # member do
  15. # get 'short'
  16. # post 'toggle'
  17. # end
  18. #
  19. # collection do
  20. # get 'sold'
  21. # end
  22. # end
  23. # Example resource route with sub-resources:
  24. # resources :products do
  25. # resources :comments, :sales
  26. # resource :seller
  27. # end
  28. # Example resource route with more complex sub-resources:
  29. # resources :products do
  30. # resources :comments
  31. # resources :sales do
  32. # get 'recent', on: :collection
  33. # end
  34. # end
  35. # Example resource route with concerns:
  36. # concern :toggleable do
  37. # post 'toggle'
  38. # end
  39. # resources :posts, concerns: :toggleable
  40. # resources :photos, concerns: :toggleable
  41. # Example resource route within a namespace:
  42. # namespace :admin do
  43. # # Directs /admin/products/* to Admin::ProductsController
  44. # # (app/controllers/admin/products_controller.rb)
  45. # resources :products
  46. # end
  47. end