diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-04-09 21:28:00 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-04-09 21:28:00 +0800 |
commit | c72e1b5c2ac8d2cbd123f3f53db7b4a125045725 (patch) | |
tree | 2f82785e8a1431189d5aeed3795bc77302caa7be /web.go | |
parent | 721834a2673fed7fc21988b8e91a88a26bcef051 (diff) | |
download | gitea-c72e1b5c2ac8d2cbd123f3f53db7b4a125045725.tar.gz gitea-c72e1b5c2ac8d2cbd123f3f53db7b4a125045725.zip |
repo-import page ui
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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}) |