Browse files

Alternado JSON gerado pelo JsonFeedController para suporte a Cross Do…

…main Ajax
  • Loading branch information...
1 parent 79740a8 commit 1c7ee0424349bead051ce23aab152fd71cb6bf2c erich committed May 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/br/com/caelum/guj/controller/JsonFeedController.java
View
2 src/br/com/caelum/guj/controller/JsonFeedController.java
@@ -45,6 +45,6 @@ public void topics(Integer forumId) {
}
- result.use(Results.json()).withoutRoot().from(topics).recursive().serialize();
+ result.use(Results.jsonp()).withCallback("callback").withoutRoot().from(topics).recursive().serialize();
}
}

0 comments on commit 1c7ee04

Please sign in to comment.