mirror of
https://github.com/gogs/gogs.git
synced 2025-12-22 08:09:59 +01:00
api: EditWiki implementation (#5860)
Co-authored-by: Joe Chen <jc@unknwon.io>
This commit is contained in:
@@ -355,6 +355,7 @@ func RegisterRoutes(m *macaron.Macaron) {
|
||||
}, reqRepoWriter())
|
||||
|
||||
m.Patch("/issue-tracker", reqRepoWriter(), bind(api.EditIssueTrackerOption{}), repo.IssueTracker)
|
||||
m.Patch("/wiki", reqRepoWriter(), bind(api.EditWikiOption{}), repo.Wiki)
|
||||
m.Post("/mirror-sync", reqRepoWriter(), repo.MirrorSync)
|
||||
m.Get("/editorconfig/:filename", context.RepoRef(), repo.GetEditorconfig)
|
||||
}, repoAssignment())
|
||||
|
||||
Reference in New Issue
Block a user