summaryrefslogtreecommitdiffstats
path: root/routes/routes.go
diff options
context:
space:
mode:
Diffstat (limited to 'routes/routes.go')
-rw-r--r--routes/routes.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/routes.go b/routes/routes.go
index 920e66c..9d165e7 100644
--- a/routes/routes.go
+++ b/routes/routes.go
@@ -173,6 +173,7 @@ func (d *deps) FileContent(w http.ResponseWriter, r *http.Request) {
data["name"] = name
data["ref"] = ref
data["desc"] = getDescription(path)
+ data["path"] = treePath
d.showFile(contents, data, w)
return