Hi,
I'm new to CakePHP and I've run into a problem I can't figure out.
I've created an action called 'viewList()' in UsersController, and a
view called view_list.ctp. When I try and access
../users/view_list I get the following error:
Error: The action view_list is not defined in controller
UsersController
Error: Create UsersController::view_list() in file: app\controllers
\users_controller.php.
<?php
class UsersController extends AppController {
var $name = 'Users';
function view_list() {
}
}
?>
I thought that the convention was to create camelcased actions and
underscored views? Do I need to configure something?
Thanks
Rob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---