summaryrefslogtreecommitdiffstats
path: root/routes/handler.go
diff options
context:
space:
mode:
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 5a1cff4..2625b43 100644
--- a/routes/handler.go
+++ b/routes/handler.go
@@ -12,5 +12,6 @@ func Handlers(c *config.Config) *flow.Mux {
mux.HandleFunc("/:name/tree/:ref/...", d.RepoTree, "GET")
mux.HandleFunc("/:name/blob/:ref/...", d.FileContent, "GET")
mux.HandleFunc("/:name/log/:ref", d.Log, "GET")
+ mux.HandleFunc("/:name/commit/:ref", d.Diff, "GET")
return mux
}