initial import of thirdParty route support

This commit is contained in:
Anthony Woods
2015-10-06 17:20:50 +08:00
parent 0bcda4a2eb
commit cf89b565a6
10 changed files with 238 additions and 6 deletions

View File

@@ -185,5 +185,7 @@ func Register(r *macaron.Macaron) {
// rendering
r.Get("/render/*", reqSignedIn, RenderToPng)
InitThirdPartyRoutes(r)
r.NotFound(NotFoundHandler)
}