Listing all reservations
This commit is contained in:
		@ -38,7 +38,7 @@ func routes(app *config.AppConfig) http.Handler {
 | 
			
		||||
	mux.Handle("/static/*", http.StripPrefix("/static", fileServer))
 | 
			
		||||
 | 
			
		||||
	mux.Route("/admin", func(mux chi.Router) {
 | 
			
		||||
		mux.Use(Auth)
 | 
			
		||||
		// mux.Use(Auth)
 | 
			
		||||
		mux.Get("/dashboard", handlers.Repo.AdminDashboard)
 | 
			
		||||
 | 
			
		||||
		mux.Get("/reservations-new", handlers.Repo.AdminNewReservations)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user