> 3. How can I set a kind of default route, so when I go to
> http://mysite/guestbook, I can see, for example, the action "index" of
> my guestbookpostscontroller?
$Route->connect('/:admin/guestbook/*', array(
'controller' => 'guest_book',
'action' => 'index'
));
or
$Route->connect('/:admin/guestbook/*', array(
'controller' => 'guest_book',
'action' => 'index'
));
in file app/config/routes.php
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---