Skip to content
Browse files

added comments, tags to the model for the homepage

  • Loading branch information...
1 parent 099f6f9 commit 18b3db650d75bf62b47dbdfd61e9b7bab6bfe65e @graemerocher graemerocher committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 grails.org/grails-app/controllers/org/grails/ContentController.groovy
View
4 grails.org/grails-app/controllers/org/grails/ContentController.groovy
@@ -395,7 +395,9 @@ class ContentController extends BaseWikiController {
model:[
newestPlugins:newestPlugins,
newsItems:newsItems,
- latestScreencastId: latestScreencastId
+ latestScreencastId: latestScreencastId,
+ newsComments:newsItems?.collect { it.comments },
+ newsTags:newsItems?.collect { it.tags }
]
)
}

0 comments on commit 18b3db6

Please sign in to comment.
Something went wrong with that request. Please try again.