scotthummel
4 years ago
268
14
General

Passing data to a custom 404 page in Laravel 5

Posted 4 years ago by scotthummel

It's real easy to create a custom (but static) 404 page in Laravel 5. You just put a file called 404.blade.php and put it in your views/errors folder. My question is, if I want to pass data from the database to it, how would I do that?

Please sign in or create an account to participate in this conversation.