N
N
Nikolai Vasin2016-08-31 14:44:33
Laravel
Nikolai Vasin, 2016-08-31 14:44:33

How to put 404 instead of error page in laravel 5?

In laravel 5 it is necessary to make 404 error instead of laravel errors

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vlad Tokarev, 2016-08-31
@Vadiok

In resources/views/errorscreate 404.blade.php.
The same goes for other errors.

V
Vlad, 2016-08-31
@Result007

Hey!
Vlad Tokarev correctly pointed out that it is necessary to create a file with the contents of the error content in this directory. To raise an error, write abort(404) in the controller code or elsewhere.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question