Files
old-zsterminator/config/routes.rb

16 lines
559 B
Ruby
Raw Normal View History

2024-08-04 07:06:03 +02:00
Rails.application.routes.draw do
2025-02-17 19:12:40 +01:00
root "reservations#index"
2024-08-06 14:16:40 +02:00
resources :reservations
resources :customers
2025-02-17 19:12:40 +01:00
resources :teams
2024-08-04 07:06:03 +02:00
resources :companies
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
# Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
# Can be used by load balancers and uptime monitors to verify that the app is live.
get "up" => "rails/health#show", as: :rails_health_check
# Defines the root path route ("/")
# root "posts#index"
end