diff options
author | Unknwon <u@gogs.io> | 2016-08-12 02:29:29 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-14 23:52:24 -0700 |
commit | 15845cb28763c1542556ad61d2aa9735541dbf45 (patch) | |
tree | 94b2053202fcf5270e0697fc37c38203310571ed /cmd/web.go | |
parent | d0a0239bacf02eb004634dfe1bb0a3f7dfe5adb6 (diff) | |
download | gitea-15845cb28763c1542556ad61d2aa9735541dbf45.tar.gz gitea-15845cb28763c1542556ad61d2aa9735541dbf45.zip |
Code clean up for new config options
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go index a39da572ef..db18890f1d 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -510,7 +510,7 @@ func runWeb(ctx *cli.Context) error { m.Post("/branches", bindIgnErr(auth.NewBranchForm{}), repo.NewBranchPost) m.Post("/upload-file", repo.UploadFileToServer) m.Post("/upload-remove", bindIgnErr(auth.RemoveUploadFileForm{}), repo.RemoveUploadFileFromServer) - }, context.RepoRef(), context.RepoAssignment(), reqRepoWriter) + }, reqRepoWriter, context.RepoRef()) }, reqSignIn, context.RepoAssignment(), repo.MustBeNotBare) m.Group("/:username/:reponame", func() { |