Laravel似乎在寻找旧观点

时间:2014-11-09 18:24:51

标签: php laravel laravel-4

我创建了一个名为“home”的新视图,并尝试从“/”根目录路由。

代码:

Route::get('/', function()
{
    return View::make('home');
});

当我加载页面时,我正在收到“出错的错误”。

这就是我在日志中看到的内容:

[2014-11-09 18:15:35] production.ERROR: exception 'InvalidArgumentException' with message 'View [hello] not found.'

之前的视图名称是'hello.php'。目前的是'home.blade.php'。

不确定这里发生了什么,所以感谢任何帮助。

干杯!!

0 个答案:

没有答案