diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-11 21:17:04 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-11 21:17:04 +0530 |
commit | ce71721c6dc80db8af63f2098a1548308e2621b2 (patch) | |
tree | 80a4083382113b095de03f9c5d9032591f4ea439 /routes/handler.go | |
parent | e0f34796a37666058dce61277bc546add707fb2e (diff) | |
download | legit-ce71721c6dc80db8af63f2098a1548308e2621b2.tar.gz legit-ce71721c6dc80db8af63f2098a1548308e2621b2.tar.bz2 legit-ce71721c6dc80db8af63f2098a1548308e2621b2.zip |
routes, templates: tree and log views
Diffstat (limited to '')
-rw-r--r-- | routes/handler.go | 1 |
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 } |