well, just now, i will search group to this answer,
thanks a lot!
On Nov 9, 12:42 pm, phpjoy <[EMAIL PROTECTED]> wrote:
> i overlooked that one, thank you
>
> On Nov 9, 1:20 pm, AD7six <[EMAIL PROTECTED]> wrote:
>
> > On Nov 9, 9:46 am, phpjoy <[EMAIL PROTECTED]> wrote:
>
> > > Hey,
>
> > > I upgraded from CakePHP 1.2alpha to 1.2pre-beta 1.
>
> > > My admin routing stopped working:
> > > My old routing is: (in routes.php)
> > > Router::connect('/admin/', array('controller' => 'backend_home',
> > > 'action'=> 'home', 'admin'=>1));
>
> > > core.php:
> > > Configure::write('Routing.admin', 'admin');
>
> > > inside the controller:
> > > function admin_home() {
> > > $this->set('title', 'Main');
> > > }
>
> > see the release announcements and/or the router testcase. you need to
> > add 'prefix' => 'admin'
>
> > hth,
>
> > AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---