Fix 404 page not including requirements.

This commit is contained in:
Will Rossiter 2014-01-11 16:20:53 +13:00
parent d3b748cd29
commit c8ba3ffd2a

View File

@ -244,6 +244,8 @@ class DocumentationViewer extends Controller {
* @return HttpResponse
*/
function throw404() {
$this->init();
$class = get_class($this);
$body = $this->renderWith(array("{$class}_error", $class));