diff options
author | Unknwon <u@gogs.io> | 2015-11-14 13:21:31 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-14 13:21:31 -0500 |
commit | 7c80eba77f727c2b80b4091c850dc38d47532b8d (patch) | |
tree | bb6f3811bc3547e18266eed7410b1f2ba8d7d5f2 /cmd | |
parent | 9c12ed3b6edb4d087db79fbc8482c9211021602d (diff) | |
download | gitea-7c80eba77f727c2b80b4091c850dc38d47532b8d.tar.gz gitea-7c80eba77f727c2b80b4091c850dc38d47532b8d.zip |
minor UI fix and fix ssh race
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go index e51b1bb978..950c3d48cf 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -87,6 +87,7 @@ func checkVersion() { {"github.com/go-macaron/csrf", csrf.Version, "0.0.3"}, {"github.com/go-macaron/i18n", i18n.Version, "0.0.7"}, {"github.com/go-macaron/session", session.Version, "0.1.6"}, + {"github.com/go-macaron/toolbox", toolbox.Version, "0.1.0"}, {"gopkg.in/ini.v1", ini.Version, "1.3.4"}, } for _, c := range checkers { @@ -463,7 +464,7 @@ func runWeb(ctx *cli.Context) { }) }) - }, reqSignIn, middleware.RepoAssignment(true), reqRepoAdmin) + }, reqSignIn, middleware.RepoAssignment(true), reqRepoAdmin, middleware.RepoRef()) m.Group("/:username/:reponame", func() { m.Get("/action/:action", repo.Action) |