summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-11-24 09:54:08 -0500
committerUnknwon <joe2010xtmf@163.com>2014-11-24 09:54:08 -0500
commit5b96e3fcc7132bf853bf82a06203d53978811015 (patch)
tree47d650ed16552f8145e8113ad41faf486da11f81 /cmd
parent5b32cdd96086b31b1ab3a71684241d8752dfc621 (diff)
downloadgitea-5b96e3fcc7132bf853bf82a06203d53978811015.tar.gz
gitea-5b96e3fcc7132bf853bf82a06203d53978811015.zip
fix #660
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index c2017a2850..3d9d4a7c84 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -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() {