File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -892,7 +892,7 @@ func RegisterRoutes(m *web.Route) {
892
892
m .Get ("" , org .Projects )
893
893
m .Get ("/{id}" , org .ViewProject )
894
894
}, reqUnitAccess (unit .TypeProjects , perm .AccessModeRead ))
895
- m .Group ("" , func () {
895
+ m .Group ("" , func () { //nolint:dupl
896
896
m .Get ("/new" , org .NewProject )
897
897
m .Post ("/new" , web .Bind (forms.CreateProjectForm {}), org .NewProjectPost )
898
898
m .Group ("/{id}" , func () {
@@ -1246,7 +1246,7 @@ func RegisterRoutes(m *web.Route) {
1246
1246
m .Group ("/projects" , func () {
1247
1247
m .Get ("" , repo .Projects )
1248
1248
m .Get ("/{id}" , repo .ViewProject )
1249
- m .Group ("" , func () {
1249
+ m .Group ("" , func () { //nolint:dupl
1250
1250
m .Get ("/new" , repo .NewProject )
1251
1251
m .Post ("/new" , web .Bind (forms.CreateProjectForm {}), repo .NewProjectPost )
1252
1252
m .Group ("/{id}" , func () {
You can’t perform that action at this time.
0 commit comments