init outer group with the indexHandler

This commit is contained in:
Riccardo Berto 2021-05-27 21:40:18 +02:00
parent defd629535
commit 464eff9a45

View File

@ -35,7 +35,7 @@ func Init() *gin.Engine {
// routes // routes
templateDataGroup := app.Group("/", templateDataMiddleware) templateDataGroup := app.Group("/", templateDataMiddleware)
{ {
templateDataGroup.GET("/", indexHandler)
} }
return app return app