--- /dev/null
+<?php
+ class CustomersController extends AppController {
+ public $helpers = array('Html', 'Form');
+ public $components = array('RequestHandler');
+
+ public function index() {
+ $customers = $this->Customer->find('all');
+ $this->set(array(
+ 'customers' => $customers,
+ '_serialize' => array('customers')
+ ));
+ }
+ }
+?>