My index.cpt
and Layout.cpt
are empty. But in the browser, my index appears with the contents of my Model:
<?php
class Post extends AppModel {
public $validate = array('title' => array('rule' => 'notEmpty'), 'body' => array('rule' => 'notEmpty'));
}
How to fix this?