/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { return \Response::json(Commit::limit(25)->get()); }