File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1091,7 +1091,6 @@ func registerRoutes(m *web.Route) {
1091
1091
}, context .RepoRef (), canEnableEditor , context .RepoMustNotBeArchived ())
1092
1092
1093
1093
m .Group ("/branches" , func () {
1094
- m .Get ("/list" , repo .GetBranchesList )
1095
1094
m .Group ("/_new" , func () {
1096
1095
m .Post ("/branch/*" , context .RepoRefByType (context .RepoRefBranch ), repo .CreateBranch )
1097
1096
m .Post ("/tag/*" , context .RepoRefByType (context .RepoRefTag ), repo .CreateBranch )
@@ -1248,6 +1247,7 @@ func registerRoutes(m *web.Route) {
1248
1247
}, repo .MustBeNotEmpty , dlSourceEnabled , reqRepoCodeReader )
1249
1248
1250
1249
m .Group ("/branches" , func () {
1250
+ m .Get ("/list" , repo .GetBranchesList )
1251
1251
m .Get ("" , repo .Branches )
1252
1252
}, repo .MustBeNotEmpty , context .RepoRef (), reqRepoCodeReader )
1253
1253
You can’t perform that action at this time.
0 commit comments