You've already forked golang-base-project
@ -9,6 +9,7 @@ func (controller Controller) Admin(c *gin.Context) {
|
||||
pd := PageData{
|
||||
Title: "Admin",
|
||||
IsAuthenticated: isAuthenticated(c),
|
||||
CacheParameter: controller.config.CacheParameter,
|
||||
}
|
||||
c.HTML(http.StatusOK, "admin.html", pd)
|
||||
}
|
||||
|
Reference in New Issue
Block a user