Ton problem vient de ton model qui devrait article.php et pas
articles.php  (pas de S).. En gros tu n'utilises pas le fichier model
que tu penses ..




On Apr 21, 11:08 am, "Mehdi AMINI" <[EMAIL PROTECTED]> wrote:
> Salut,
>
> Essaye ça :
>
>   var $validate = array
>  (
>   'title' => array
>     (
>         'rule' => array('minLength', 1),
>         'required'=>true
>         'allowEmpty'=>false
>                  ),
>   'body' => array
>   (
>         'rule' => array('minLength', 1),
>         'required'=>true
>         'allowEmpty'=>false
>                  )
>  );
--~--~---------~--~----~------------~-------~--~----~

Groupe "Cakephp-fr".
Adresse : [email protected]
Pour résilier  : [EMAIL PROTECTED]
Pour les options : http://groups.google.com/group/cakephp-fr?hl=fr
-~----------~----~----~----~------~----~------~--~---

Répondre à