mirror of
https://github.com/go-gitea/gitea
synced 2025-07-16 07:18:37 +00:00
Support Editorconfig on web editor
This commit is contained in:
@@ -290,6 +290,7 @@ func RegisterRoutes(m *macaron.Macaron) {
|
||||
Patch(reqRepoWriter(), bind(api.EditMilestoneOption{}), repo.EditMilestone).
|
||||
Delete(reqRepoWriter(), repo.DeleteMilestone)
|
||||
})
|
||||
m.Get("/editorconfig/:filename", context.RepoRef(), repo.GetEditorconfig)
|
||||
}, repoAssignment())
|
||||
}, reqToken())
|
||||
|
||||
|
Reference in New Issue
Block a user