introduce git-shell
This commit is contained in:
parent
2b10fdc4dc
commit
c50a3503e6
16 changed files with 155 additions and 135 deletions
|
@ -536,7 +536,8 @@ func runWeb(ctx *cli.Context) {
|
|||
m.Get("/?:page", repo.Wiki)
|
||||
|
||||
m.Group("", func() {
|
||||
m.Get("/_new", repo.NewWiki)
|
||||
m.Combo("/_new").Get(repo.NewWiki).
|
||||
Post(bindIgnErr(auth.NewWikiForm{}), repo.NewWikiPost)
|
||||
m.Get("/:page/_edit", repo.EditWiki)
|
||||
}, reqSignIn)
|
||||
}, middleware.RepoRef())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue