I have cakephp at my domains root.

I make the Default Index route like so:
$Route->connect ('/', array('controller'=>'stuffs',
'action'=>'index'));


I want to add a "add" thtml to my stuffs table accessable at /add

When I add an add function to the controller and hit the directory from
the web i get a Missing Controller

<?php
class AddController extends AppController
{
    var $name = 'Add';
}
?>

in file : app/controllers/add_controller.php

**It looks like it does not know what Controller it should be using, do
i need to add a route for every function I want?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to