Well i changed as you suggested (see below) however i am getting an
error when i access /admin:

Missing Method in PagesController

You are seeing this error because the action admin_display is not
defined in controller PagesController

If you want to customize this error message, create app\views/errors/
missing_action.thtml.

Fatal: Confirm you have created the PagesController::admin_display()
in file : app\controllers\pages_controller.php

<?php
class PagesController extends AppController {
   function admin_display() {
   }
}
?>

old
//$Route->connect('/admin', array('controller' => 'Pages', 'action' =>
'display', 'admin'));

new
$Route->connect('/admin', array('controller' => 'Pages', 'action'
=>'display', CAKE_ADMIN => CAKE_ADMIN));

am i doing something wrong?


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

Reply via email to