如何向布局文件传递数据?我只能在内容页面上访问传递的数据,而不能在布局文件上访问。
public function get_index($name){
return View::make('widget.'.$name)
->with("title", ucwords($name).' ‹ Document Management System');
}