Skip to content

Commit

Permalink
Merge pull request #418 from sukrit007/GRAILS-10677
Browse files Browse the repository at this point in the history
GRAILS-10677: Modified constructor for mimeTypes to register collection ...
  • Loading branch information
graemerocher committed Oct 24, 2013
2 parents 4865a0c + 7fe0249 commit 863c897
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -36,8 +36,9 @@ class JsonCollectionRenderer extends JsonRenderer implements ContainerRenderer {
this.componentType = componentType
}

public JsonCollectionRenderer(Class targetType, MimeType... mimeTypes) {
super(targetType, mimeTypes);
public JsonCollectionRenderer(Class componentType, MimeType... mimeTypes) {
super(Collection, mimeTypes)
this.componentType = componentType
}

@Override
Expand Down

0 comments on commit 863c897

Please sign in to comment.