able edit issue title

This commit is contained in:
Unknwon 2015-08-19 23:14:57 +08:00
parent a35911486f
commit 87f5ca8e1f
13 changed files with 251 additions and 168 deletions

View file

@ -217,9 +217,11 @@ func Contexter() macaron.Handler {
ctx.IsSigned = true
ctx.Data["IsSigned"] = ctx.IsSigned
ctx.Data["SignedUser"] = ctx.User
ctx.Data["SignedUserID"] = ctx.User.Id
ctx.Data["SignedUserName"] = ctx.User.Name
ctx.Data["IsAdmin"] = ctx.User.IsAdmin
} else {
ctx.Data["SignedUserID"] = 0
ctx.Data["SignedUserName"] = ""
}