rename reservation to availability

This commit is contained in:
Muyao CHEN
2024-06-30 10:51:29 +02:00
parent a8b56b50db
commit 97b9898dfc
4 changed files with 12 additions and 12 deletions

View File

@ -22,9 +22,9 @@ func routes(app *config.AppConfig) http.Handler {
mux.Get("/contact", handlers.Repo.Contact)
mux.Get("/generals-quarters", handlers.Repo.Generals)
mux.Get("/majors-suite", handlers.Repo.Majors)
mux.Get("/reservation", handlers.Repo.Reservation)
mux.Post("/reservation", handlers.Repo.PostReservation)
mux.Get("/reservation-json", handlers.Repo.ReservationJSON)
mux.Get("/availability", handlers.Repo.Availability)
mux.Post("/availability", handlers.Repo.PostAvailability)
mux.Get("/availability-json", handlers.Repo.AvailabilityJSON)
mux.Get("/make-reservation", handlers.Repo.MakeReservation)
fileServer := http.FileServer(http.Dir("./static/"))