aboutsummaryrefslogtreecommitdiff
path: root/routes/handler.go
diff options
context:
space:
mode:
authorAnirudh Oppiliappan <x@icyphox.sh>2022-12-11 21:17:04 +0530
committerAnirudh Oppiliappan <x@icyphox.sh>2022-12-11 21:17:04 +0530
commitce71721c6dc80db8af63f2098a1548308e2621b2 (patch)
tree80a4083382113b095de03f9c5d9032591f4ea439 /routes/handler.go
parentgit: fix trees (diff)
downloadlegitrx-ce71721c6dc80db8af63f2098a1548308e2621b2.tar.gz
legitrx-ce71721c6dc80db8af63f2098a1548308e2621b2.tar.zst
legitrx-ce71721c6dc80db8af63f2098a1548308e2621b2.zip
routes, templates: tree and log views
Diffstat (limited to 'routes/handler.go')
-rw-r--r--routes/handler.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/handler.go b/routes/handler.go
index 523239a..5a1cff4 100644
--- a/routes/handler.go
+++ b/routes/handler.go
@@ -11,5 +11,6 @@ func Handlers(c *config.Config) *flow.Mux {
mux.HandleFunc("/:name", d.RepoIndex, "GET")
mux.HandleFunc("/:name/tree/:ref/...", d.RepoTree, "GET")
mux.HandleFunc("/:name/blob/:ref/...", d.FileContent, "GET")
+ mux.HandleFunc("/:name/log/:ref", d.Log, "GET")
return mux
}