Fixed old style subrequests by running through drupal_render_page.

8.0.x
Lin Clark 2012-09-20 15:39:58 -04:00 committed by effulgentsia
parent ea8d2911b7
commit fdcd2d2a73
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class ViewSubscriber implements EventSubscriberInterface {
'#markup' => $page_result,
);
}
$event->setResponse(new Response(drupal_render($page_result)));
$event->setResponse(new Response(drupal_render_page($page_result)));
}
}