Commit fdcd2d2a authored by linclark's avatar linclark Committed by effulgentsia

Fixed old style subrequests by running through drupal_render_page.

parent ea8d2911
......@@ -69,7 +69,7 @@ public function onView(GetResponseForControllerResultEvent $event) {
'#markup' => $page_result,
);
}
$event->setResponse(new Response(drupal_render($page_result)));
$event->setResponse(new Response(drupal_render_page($page_result)));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment