Removed commented code

This commit is contained in:
snipe 2016-07-22 02:11:37 -07:00
parent 297820d347
commit b2d958724b

View file

@ -1246,9 +1246,7 @@ class UsersController extends Controller
*/ */
public function getAssetList($userId) public function getAssetList($userId)
{ {
$assets = Asset::where('assigned_to', '=', $userId)->get(); $assets = Asset::where('assigned_to', '=', $userId)->with('model')->get();
return response()->json($assets); return response()->json($assets);
//$foo = Asset::where('assigned_to','=',$userId)->get();
//print_r($foo);
} }
} }