create stub handlers for admin functionnality

This commit is contained in:
2024-07-22 14:05:20 +02:00
parent ea796999d4
commit b34c217d98
6 changed files with 52 additions and 1 deletions

View File

@ -40,6 +40,10 @@ func routes(app *config.AppConfig) http.Handler {
mux.Route("/admin", func(mux chi.Router) {
mux.Use(Auth)
mux.Get("/dashboard", handlers.Repo.AdminDashboard)
mux.Get("/reservations-new", handlers.Repo.AdminNewReservations)
mux.Get("/reservations-all", handlers.Repo.AdminAllReservations)
mux.Get("/reservations-calendar", handlers.Repo.AdminReservationsCalendar)
})
return mux