This commit is contained in:
Unknwon 2014-09-05 17:28:09 -04:00
parent 033a7f0224
commit ab7206d6b7
13 changed files with 121 additions and 59 deletions

View file

@ -124,6 +124,7 @@ func runWeb(*cli.Context) {
// Routers.
m.Get("/", ignSignIn, routers.Home)
m.Get("/explore", routers.Explore)
m.Get("/install", bindIgnErr(auth.InstallForm{}), routers.Install)
m.Post("/install", bindIgnErr(auth.InstallForm{}), routers.InstallPost)
m.Group("", func(r *macaron.Router) {