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' => 'pages',
'action'=>'display',
'new'
)
);
In my view.ctp:
echo $html->link(
"neue Anzeige",
array(
'controller' => 'pages',
'action'=>'display',
'new'
)
);
I don't see why this won't work. Do I need to pass the third parameter
in the route? What would that be on a static page?
Regards,
Alexander
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---