/** * Display a listing of the resource. * * @return Response */ public function getIndex() { $drawings = Drawing::All(); return Response::json(['drawings' => $drawings->toArray()]); }