1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-01 23:36:58 +00:00

more collection action code

This commit is contained in:
Craig Jellick
2018-01-20 01:08:31 -07:00
parent d170661103
commit 990db51407
3 changed files with 21 additions and 0 deletions

View File

@@ -64,6 +64,10 @@ func (j *JSONResponseWriter) writeMapSlice(builder *builder.Builder, apiContext
}
}
if apiContext.Schema.CollectionFormatter != nil {
apiContext.Schema.CollectionFormatter(apiContext, collection)
}
return collection
}