summaryrefslogtreecommitdiffstats
path: root/routers/private/internal.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/private/internal.go')
-rw-r--r--routers/private/internal.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/private/internal.go b/routers/private/internal.go
index b69411dd06..96021d8feb 100644
--- a/routers/private/internal.go
+++ b/routers/private/internal.go
@@ -44,5 +44,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Post("/push/update", PushUpdate)
m.Get("/protectedbranch/:pbid/:userid", CanUserPush)
m.Get("/branch/:id/*", GetProtectedBranchBy)
+ m.Get("/repository/:rid", GetRepository)
+ m.Get("/active-pull-request", GetActivePullRequest)
}, CheckInternalToken)
}