@@ -1075,7 +1075,7 @@ func MountBottlesController(service *goa.Service, ctrl BottlesController) {
1075
1075
}
1076
1076
return ctrl.List(rctx)
1077
1077
}
1078
- mux.Handle("GET", "/accounts/:accountID/bottles", ctrl.MuxHandler("List", "", h, nil))
1078
+ mux.Handle("GET", "/accounts/:accountID/bottles", ctrl.MuxHandler("List", h, nil))
1079
1079
goa.Info(goa.RootContext, "mount", goa.KV{"ctrl", "Bottles"}, goa.KV{"action", "List"}, goa.KV{"route", "GET /accounts/:accountID/bottles"})
1080
1080
}
1081
1081
`
@@ -1091,7 +1091,7 @@ func MountBottlesController(service *goa.Service, ctrl BottlesController) {
1091
1091
}
1092
1092
return ctrl.List(rctx)
1093
1093
}
1094
- mux.Handle("GET", "/accounts/:accountID/bottles", ctrl.MuxHandler("List", "", h, nil))
1094
+ mux.Handle("GET", "/accounts/:accountID/bottles", ctrl.MuxHandler("List", h, nil))
1095
1095
goa.Info(goa.RootContext, "mount", goa.KV{"ctrl", "Bottles"}, goa.KV{"action", "List"}, goa.KV{"route", "GET /accounts/:accountID/bottles"})
1096
1096
}
1097
1097
`
@@ -1115,7 +1115,7 @@ type BottlesController interface {
1115
1115
}
1116
1116
return ctrl.List(rctx)
1117
1117
}
1118
- mux.Handle("GET", "/accounts/:accountID/bottles", ctrl.MuxHandler("List", "", h, nil))
1118
+ mux.Handle("GET", "/accounts/:accountID/bottles", ctrl.MuxHandler("List", h, nil))
1119
1119
goa.Info(goa.RootContext, "mount", goa.KV{"ctrl", "Bottles"}, goa.KV{"action", "List"}, goa.KV{"route", "GET /accounts/:accountID/bottles"})
1120
1120
h = func(ctx context.Context, rw http.ResponseWriter, req *http.Request) error {
1121
1121
rctx, err := NewShowBottleContext(ctx)
@@ -1124,7 +1124,7 @@ type BottlesController interface {
1124
1124
}
1125
1125
return ctrl.Show(rctx)
1126
1126
}
1127
- mux.Handle("GET", "/accounts/:accountID/bottles/:id", ctrl.MuxHandler("Show", "", h, nil))
1127
+ mux.Handle("GET", "/accounts/:accountID/bottles/:id", ctrl.MuxHandler("Show", h, nil))
1128
1128
goa.Info(goa.RootContext, "mount", goa.KV{"ctrl", "Bottles"}, goa.KV{"action", "Show"}, goa.KV{"route", "GET /accounts/:accountID/bottles/:id"})
1129
1129
}
1130
1130
`
0 commit comments