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.4 KiB

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