summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-04-09 21:28:00 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-04-09 21:28:00 +0800
commitc72e1b5c2ac8d2cbd123f3f53db7b4a125045725 (patch)
tree2f82785e8a1431189d5aeed3795bc77302caa7be /web.go
parent721834a2673fed7fc21988b8e91a88a26bcef051 (diff)
downloadgitea-c72e1b5c2ac8d2cbd123f3f53db7b4a125045725.tar.gz
gitea-c72e1b5c2ac8d2cbd123f3f53db7b4a125045725.zip
repo-import page ui
Diffstat (limited to 'web.go')
-rw-r--r--web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/web.go b/web.go
index b8fa9eb7ae..7ebdb6b631 100644
--- a/web.go
+++ b/web.go
@@ -116,6 +116,7 @@ func runWeb(*cli.Context) {
m.Get("/user/:username", ignSignIn, user.Profile)
m.Any("/repo/create", reqSignIn, binding.BindIgnErr(auth.CreateRepoForm{}), repo.Create)
+ m.Any("/repo/import", reqSignIn, binding.BindIgnErr(auth.CreateRepoForm{}), repo.Import)
adminReq := middleware.Toggle(&middleware.ToggleOptions{SignInRequire: true, AdminRequire: true})