【发布时间】:2015-02-06 15:30:28
【问题描述】:
我试图弄清楚为什么当我浏览到包含 JSON 数据的页面时,它不会在我的本地计算机上安装了 JSON Formatter 插件的 JSON 格式化程序中显示它。有人知道为什么这可能是问题吗?我可以研究哪些可能性?
/**
* Display a listing of users
*
* @return Response
*/
public function index()
{
// Retrieve all users from database with roles and statuses
//$users = User::with('role')->with('status')->get();
$users = User::all();
var_dump($users);
// Return a view to display all users by passing users variable to view.
//return View::make('users.index', compact('users'));
}
【问题讨论】:
标签: json google-chrome laravel google-chrome-devtools