Add update user profile back end, add new gitignore and license, add template data to public profile page

This commit is contained in:
Unknown 2014-03-13 03:39:18 -04:00
parent adedd9181c
commit 57bc2d1ca0
13 changed files with 133 additions and 21 deletions

View file

@ -43,8 +43,7 @@ func Profile(params martini.Params, r render.Render, data base.TmplData, session
return
}
data["Avatar"] = user.Avatar
data["Username"] = user.Name
data["Owner"] = user
r.HTML(200, "user/profile", data)
}