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.

24 lines
1.1 KiB

11 months ago
4 months ago
11 months ago
8 months ago
11 months ago
8 months ago
5 months ago
5 months ago
4 months ago
11 months ago
  1. Rails.application.routes.draw do
  2. get 'strong/index'
  3. get 'hot/index'
  4. resources :scores
  5. # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
  6. # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
  7. # Can be used by load balancers and uptime monitors to verify that the app is live.
  8. get 'up' => 'rails/health#show', as: :rails_health_check
  9. # Defines the root path route ("/")
  10. root 'scores#index'
  11. get 'flash' => 'flash#index'
  12. get 'flash/redirect_with_notice' => 'flash#redirect_with_notice', as: :flash_redirect_with_notice
  13. get 'flash/redirect_with_alert' => 'flash#redirect_with_alert', as: :flash_redirect_with_alert
  14. get 'flash/redirect_with_both' => 'flash#redirect_with_both', as: :flash_redirect_with_both
  15. get 'flash/from_render' => 'flash#from_render', as: :flash_from_render
  16. post 'flash/from_turbo' => 'flash#from_turbo', as: :flash_from_turbo
  17. get 'hot' => 'hot#index', as: :hot
  18. get 'strong' => 'strong#index', as: :strong
  19. post 'strong' => 'strong#update', as: :update_strong
  20. end