/** * [getWorklogs - get all the worklogs] * @return [json] [description] */ public function getWorklogs() { $all_worklogs = Werklog::all(); return Response::json($all_worklogs); }