The Content Model appears in my index when using cakephp [closed]

3

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?

    
asked by anonymous 17.01.2015 / 03:48

0 answers