summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorslene <vslene@gmail.com>2014-03-15 15:28:06 +0800
committerslene <vslene@gmail.com>2014-03-15 15:28:06 +0800
commit06deed820d9f48ecf972c8716b17ad58b91ab9b9 (patch)
treefc94500dd1dd607d1c6470f89abadcba84bbc285 /web.go
parente251b9bbca35e01060ac3b2ee0bd836dc7719c19 (diff)
downloadgitea-06deed820d9f48ecf972c8716b17ad58b91ab9b9.tar.gz
gitea-06deed820d9f48ecf972c8716b17ad58b91ab9b9.zip
Add HomeLink and AvatarLink to User model. Please use .SignedUser in template.
Diffstat (limited to 'web.go')
-rw-r--r--web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/web.go b/web.go
index 60992f4541..cb6ee4aece 100644
--- a/web.go
+++ b/web.go
@@ -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) {