You're right, that's the bad thing about copy & paste ;)

Glad to know it's working.

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge.
BAKE ON!


-----Mensaje original-----
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Tazz
Enviado el: MiƩrcoles, 20 de Diciembre de 2006 03:09 a.m.
Para: Cake PHP
Asunto: Re: How do i change default home page?


$Route->connect('/', array('controller' => 'homes', 'action' =>
'display', 'index'));

Should be...

$Route->connect('/', array('controller' => 'homes', 'action' =>'index',
'index'));

display function does not exist in homes controller ;)

Thanks I have it all working now...


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to