This commit is contained in:
Unknwon 2014-11-24 09:54:08 -05:00
parent 5b32cdd960
commit 5b96e3fcc7
4 changed files with 13 additions and 3 deletions

View file

@ -161,6 +161,7 @@ func runWeb(*cli.Context) {
// Routers.
m.Get("/", ignSignIn, routers.Home)
m.Get("/explore", ignSignIn, routers.Explore)
// FIXME: when i'm binding form here???
m.Get("/install", bindIgnErr(auth.InstallForm{}), routers.Install)
m.Post("/install", bindIgnErr(auth.InstallForm{}), routers.InstallPost)
m.Group("", func() {