Re: reverse routing won't work

2008-09-05 Thread Dardo Sordi Bogado
Use: echo $form->create(NULL, array('url' => array('controller' => 'requests', 'action' => 'edit', 'band', $id))); On Fri, Sep 5, 2008 at 12:26 PM, cronet <[EMAIL PROTECTED]> wrote: > > Hi Jaime. > > I Found my mistake. I missed the generic pages route, hidden between > comments. The router catc

Re: reverse routing won't work

2008-09-05 Thread cronet
Hi Jaime. I Found my mistake. I missed the generic pages route, hidden between comments. The router catches the first matching route, which was too generic. Switching the place in the source code does the trick. Specials first, generic last. Now I have another problem (indirect with routing): e

Re: reverse routing won't work

2008-09-04 Thread Jaime
I'm afraid I don't understand your question. I tried your example and I got a link to /neue_anzeige, as expected. If you want to pass a parameter to the controller, try: Router::connect( '/neue_anzeige/:day', arr

reverse routing won't work

2008-09-04 Thread cronet
Hi, I have a simple example. I would like to use reverse routing with my urls. In my routes.php Router::connect( '/neue_anzeige', array( 'controller' =