Add HomeLink and AvatarLink to User model. Please use .SignedUser in template.

This commit is contained in:
slene 2014-03-15 15:28:06 +08:00
parent e251b9bbca
commit 06deed820d
9 changed files with 147 additions and 24 deletions

1
web.go
View file

@ -45,6 +45,7 @@ var AppHelpers template.FuncMap = map[string]interface{}{
"Subtract": base.Subtract,
"ActionIcon": base.ActionIcon,
"ActionDesc": base.ActionDesc,
"DateFormat": base.DateFormat,
}
func runWeb(*cli.Context) {