This is how we did it in Batman's view_helper.

There may be a cleaner solution by creating a Batman.LayoutView and appending the current controller's view as a subview. Both should be equivalent though.