From 7a6ff3565e8e5f55d50c509c9ee12438b61c850e Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Mon, 12 Dec 2022 21:58:47 +0530 Subject: routes: refs view --- routes/handler.go | 1 + 1 file changed, 1 insertion(+) (limited to 'routes/handler.go') diff --git a/routes/handler.go b/routes/handler.go index 0c4f7b8..3abc4fd 100644 --- a/routes/handler.go +++ b/routes/handler.go @@ -21,5 +21,6 @@ func Handlers(c *config.Config) *flow.Mux { mux.HandleFunc("/:name/blob/:ref/...", d.FileContent, "GET") mux.HandleFunc("/:name/log/:ref", d.Log, "GET") mux.HandleFunc("/:name/commit/:ref", d.Diff, "GET") + mux.HandleFunc("/:name/refs", d.Refs, "GET") return mux } -- cgit