init outer group with the indexHandler
This commit is contained in:
parent
defd629535
commit
464eff9a45
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user