Ver código fonte

make more clear

cg33 6 anos atrás
pai
commit
bf1171a599
2 arquivos alterados com 391 adições e 1 exclusões
  1. 390 0
      index.go
  2. 1 1
      main.go

Diferenças do arquivo suprimidas por serem muito extensas
+ 390 - 0
index.go


+ 1 - 1
main.go

@@ -76,7 +76,7 @@ func main() {
 
 	r.GET("/admin", func(ctx *gin.Context) {
 		engine.Content(ctx, func(ctx interface{}) (types.Panel, error) {
-			return datamodel.GetContent()
+			return DashboardPage()
 		})
 	})