From ffe0ba562c2d749ea904e7171b424ae251c1f62e Mon Sep 17 00:00:00 2001 From: FuXiaoHei Date: Sun, 2 Mar 2014 21:47:55 +0800 Subject: ui for user/profile page, only skeleton --- routers/user/user.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'routers/user/user.go') diff --git a/routers/user/user.go b/routers/user/user.go index 241a9f35..7cd8bca5 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{}{ -- cgit v1.2.3