summaryrefslogtreecommitdiffstats
path: root/routers/user/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/user/user.go')
-rw-r--r--routers/user/user.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/routers/user/user.go b/routers/user/user.go
index 241a9f3589..7cd8bca550 100644
--- a/routers/user/user.go
+++ b/routers/user/user.go
@@ -16,6 +16,13 @@ import (
"github.com/gogits/gogs/utils/log"
)
+func Profile(r render.Render) {
+ r.HTML(200, "user/profile", map[string]interface{}{
+ "Title": "Username",
+ })
+ return
+}
+
func SignIn(req *http.Request, r render.Render) {
if req.Method == "GET" {
r.HTML(200, "user/signin", map[string]interface{}{