mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
Fix 404 page not including requirements.
This commit is contained in:
parent
d3b748cd29
commit
c8ba3ffd2a
@ -244,6 +244,8 @@ class DocumentationViewer extends Controller {
|
|||||||
* @return HttpResponse
|
* @return HttpResponse
|
||||||
*/
|
*/
|
||||||
function throw404() {
|
function throw404() {
|
||||||
|
$this->init();
|
||||||
|
|
||||||
$class = get_class($this);
|
$class = get_class($this);
|
||||||
|
|
||||||
$body = $this->renderWith(array("{$class}_error", $class));
|
$body = $this->renderWith(array("{$class}_error", $class));
|
||||||
|
Loading…
Reference in New Issue
Block a user