【发布时间】:2015-07-12 22:09:48
【问题描述】:
您好,我在我的 Windows 电脑上安装了 laravel 4.2,并得到了无法通过 foundet 进行查看的错误
InvalidArgumentException
View [layout.index] not found.
我的控制器内容
protected $layout = 'layout.index';
public function home()
{
return $this->layout->content = View::make('content_index.home');
}
但文件确实存在 'views/layout/index.blade.php' 它有点错误或什么?
【问题讨论】: