We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd6f112 commit de6fcfdCopy full SHA for de6fcfd
1 file changed
userfrosting/controllers/BaseController.php
@@ -36,7 +36,7 @@ public function __construct($app){
36
*/
37
public function page404(){
38
$twig = $this->_app->view()->getEnvironment();
39
- $this->_app->halt(404,$twig->render('errors/404.twig', $twig->getGlobals()));
+ $this->_app->halt(404,$twig->render('errors/404.twig'));
40
}
41
42
/**
@@ -48,7 +48,7 @@ public function page404(){
48
49
public function pageDatabaseError(){
50
51
- $this->_app->halt(503,$twig->render('errors/database.twig', $twig->getGlobals()));
+ $this->_app->halt(503,$twig->render('errors/database.twig'));
52
53
54
0 commit comments