The rest of this looks good - but I wonder if we can use a sub-request to the posts controller instead.. that way you can still use all the query functions built in to the posts controller.