Archived
Template
1
0

Initial commit

This commit is contained in:
uberswe
2021-12-12 14:56:13 +01:00
commit 0511f8fbca
1627 changed files with 773292 additions and 0 deletions

14
routes/admin.go Normal file
View File

@ -0,0 +1,14 @@
package routes
import (
"github.com/gin-gonic/gin"
"net/http"
)
func (controller Controller) Admin(c *gin.Context) {
pd := PageData{
Title: "Admin",
IsAuthenticated: isAuthenticated(c),
}
c.HTML(http.StatusOK, "admin.html", pd)
}