widmogrod/zf2-assetic-module — pull request #41 by tommyseus (2013-01-29 13:47:09+00:00)
Title: RenderAssets on RouteNotMatchErrors/ 404 Dispatch-Errors

If an dispatch.error occurs, the Module::renderAssets is not triggerend, and the view shows layout without css and javascript assets.

I added the layout template to the 404 template.
layout()->setTemplate('layout/layout.phtml'); ?>