Same here, works fine.

On Wed, May 19, 2010 at 9:34 AM, #2Will <willjbar...@gmail.com> wrote:

> Not sure if this helps, but im running 1.3 stable with admin routing
> and its working ok, so it might be something else going wrong.
>
> i have:
>
>        Configure::write('Routing.prefixes', array('admin'));
>
> in config and nothing about admin in routes and no changes to the form
> action parameters in the admin area.
>
>
>
> On May 18, 7:24 pm, Mike <mich...@mgdigital.co.uk> wrote:
> > I've been developing a web app with 1.3RC2, which I've just migrated
> > to 1.3 stable. I've completed the migration guide but am having a few
> > problems with admin routing:
> >
> > I have the following line in my core.php config file:
> >
> >         Configure::write('Routing.prefixes', array('admin'));
> >
> > 1. I've had to add the following lines to my routes.php as this no
> > longer seems to be done automatically:
> >
> >         Router::connect("/admin/:controller", array('action' => 'index',
> > 'prefix' => 'admin', 'admin' => true));
> >         Router::connect("/admin/:controller/:action/*", array('prefix' =>
> > 'admin', 'admin' => true));
> >
> > 2. I've had to change all my forms to include an explicit URL
> > parameter.
> >
> >         For example $form->create('Category') will now have an action
> > attribute of /categories/add, whereas before it was /admin/categories/
> > add. So I now have to do $form->create('Category',array('url'=>'/admin/
> > users/add'))
> >
> > So by completing the above steps I can fix these problems but it seems
> > there's been a bug introduced as this was working automatically before
> > and no longer does...
> >
> > Any ideas?
> >
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> with their CakePHP related questions.
> >
> > 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
> > cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
> >  more options, visit this group athttp://
> groups.google.com/group/cake-php?hl=en
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> 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
> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>



-- 
Bogdan Iulian Bursuc

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to