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.

16 lines
765 B

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