I currently have a controller for Articles which accesses the articles
table in my db for all primary and secondary pages on my site. I'd
like to create a route so that when I call a page, "articles/" is not
part of the URL. For example in my about section I've tried to create
the route "Router::connect('/about/*', array('controller' =>
'articles', 'action' => 'display'));" but it isn't working...do I need
to do something else as well?

Is there a better way to accomplish this or do i need to create a
controller for each section of my site? That seems restrictive because
I wouldn't be able to dynamically create new sections.


--~--~---------~--~----~------------~-------~--~----~
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