http status code 404 - Laravel 5.0 custom 404 does not use middleware -


i'm using middleware parse output of templates. working fine pages.

however when want show 404 (got custom page that) doesn't treat http request (that's think) since doesn't go through middleware.

my question is, how have requests go through middleware.

the error pages don't go through routes.php.

in kernel.php move middleware $routemiddleware array $middleware array.

middleware in array run on every request (tested in 5.1).

image showing middleware , 404 page


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -