Great, that helped a lot. A follow up issue I am having is what is the correct way to handle such things as login / logout functions in the user controller so that when I go to http://example.com/users/logout, it doesn't query the database and it performs the logout functions.
Thanks again for your help before On Oct 3, 9:41 am, Mathew <[EMAIL PROTECTED]> wrote: > Router::connect('/users/:username', > array('controller'=>'users','action'=>'index'),array('pass'=>array('username'))); > > This routes /users/bobcostas to the function index( $username ) method > of the controller, with the username passed as a parameter. > > Router::connect('/users/:username/:action', > array('controller'=>'users'),array('pass'=>array('username'))); > > This does the same as the above, but allows the action to be after the > username. For example; /users/bobcostas/edit would call function > edit( $username ) in the UsersController. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---