Ok so this should be fairly easy right?

I have a few controllers (forums, threads and posts)

The index of the forums controller shows the list of available forums
The index of the threads controller shows the list of threads for a forum
(so an ID is passed to the index method)
The index of the posts controller shows the list of posts within a thread
(so a forumID and a threadID is passed to the index method).

So my URL's look somewhat aweful....i have /threads/index/1 etc

what i'd really like is /threads/1

so i tried Router::connect('/threads/:id', array('controller' => 'threads',
'action' => 'index'); to no avail... i tried playing with named arguments
(which I would prefer to avoid) and still no luck.

Surely it can't be hard to route out the action......help?

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