aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index d69e3cd..f2e7ab5 100644
--- a/main.go
+++ b/main.go
@@ -144,6 +144,7 @@ func main() {
g.TemplateFuncMap = template.FuncMap{
"getImage": getImage,
+ "getRings": func() []*Ring { return cfg.Rings },
}
host := fmt.Sprintf(":%d", port)