repo details page mostly working
This commit is contained in:
@@ -109,6 +109,8 @@ func New(cfg *config.Config, engine *xorm.Engine, store sessions.Store, staticFi
|
||||
r.With(csrf).Patch("/", repoH.Update)
|
||||
r.With(csrf).Delete("/", repoH.Delete)
|
||||
r.Get("/tree", repoH.Tree)
|
||||
r.Get("/avatar", repoH.GetAvatar)
|
||||
r.With(csrf).Post("/avatar", repoH.UploadAvatar)
|
||||
r.Get("/blob", repoH.Blob)
|
||||
r.With(csrf).Put("/blob", repoH.UpdateBlob)
|
||||
r.Get("/commits", repoH.Commits)
|
||||
|
||||
Reference in New Issue
Block a user