From f530e901c81cb30dcd55cd0eec67fa58e9d1a8f4 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Mon, 25 Apr 2016 08:56:40 +0100 Subject: [PATCH] fix a part of #67 --- routes/browse/get.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/browse/get.go b/routes/browse/get.go index 6fc159a8..73d31108 100644 --- a/routes/browse/get.go +++ b/routes/browse/get.go @@ -29,10 +29,10 @@ func GET(w http.ResponseWriter, r *http.Request) (int, error) { Next: middleware.HandlerFunc(func(w http.ResponseWriter, r *http.Request) (int, error) { return 404, nil }), - Root: conf.Path, Configs: []browse.Config{ { PathScope: "/", + Root: conf.Path, Variables: conf, Template: tpl, },