John David Anderson (_psychic_) wrote:
> On Aug 21, 2006, at 9:33 AM, Zoltan wrote:
>
> >
> > Yes, I tried it and it seemed to work at first, then got some errors
> > about missing controllers. This was about a week ago, but going from
> > memory I used something like:
> >
> > class City extends AppModel
> > {
> >     var $name = 'City';
> > }
> >
> > and
> >
> > class CitiesController extends AppController
> > {..}
>
> var $name = 'Cities';
>
> (always a good idea to include $name, even in  your controllers).
>
> > Does this look correct?
>
> Looks good to me - are you still getting errors?
> 
> -- John

It's working fine now, Thanks!

Zoltan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to