|
|
@ -308,6 +308,7 @@ func RegisterRoutes(m *macaron.Macaron) { |
|
|
|
Patch(reqRepoWriter(), bind(api.EditMilestoneOption{}), repo.EditMilestone). |
|
|
|
Patch(reqRepoWriter(), bind(api.EditMilestoneOption{}), repo.EditMilestone). |
|
|
|
Delete(reqRepoWriter(), repo.DeleteMilestone) |
|
|
|
Delete(reqRepoWriter(), repo.DeleteMilestone) |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
m.Post("/mirror-sync", repo.MirrorSync) |
|
|
|
m.Get("/editorconfig/:filename", context.RepoRef(), repo.GetEditorconfig) |
|
|
|
m.Get("/editorconfig/:filename", context.RepoRef(), repo.GetEditorconfig) |
|
|
|
}, repoAssignment()) |
|
|
|
}, repoAssignment()) |
|
|
|
}, reqToken()) |
|
|
|
}, reqToken()) |
|
|
|