且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Laravel 5.2不正确的路由模型绑定不显示404

更新时间:2023-02-21 19:04:22

搜索后,我找到了解决方案.如果您在 resources/views/errors 中没有指定的错误模板文件,则将显示默认的Laravel消息.只需在 resources/views/errors 中创建404.blade.php文件.

After searching i found out solution. If you have no specified error template files in resources/views/errors default Laravel message will be shown. Just create 404.blade.php file in resources/views/errors.