【发布时间】:2014-05-22 22:21:57
【问题描述】:
这是我在控制器中使用的功能
public function homeList()
{
//Get all the franchises
$franchises = Franchise::all();
//Load the view and pass the franchises
return View::make('frontend.layouts.footer')->with('franchises', $franchises);
}
我不断收到此错误。我不知道如何传递它或在 routes.php 文件中放什么
【问题讨论】:
-
请发给你相关的查看代码