Well, it may not be obvious, but nor is it exactly rocket surgery.
Your best bet is to check out the test cases:
https://trac.cakephp.org/browser/branches/1.2.x.x/cake/tests/cases/libs/router.test.php,
particularly the parts that make use of the 'prefix' key, since that's
what you'll want.

On Jan 28, 2:41 pm, BFox <[EMAIL PROTECTED]> wrote:
> Im currently making use of the Admin routing built into Cake, however, I also
> need a Members route - Im currently trying the following:
>
> Router::connect('/member/:controller/:action');
>
> When I go to a url lile /member/wineries/index
>
> It tells me the index() method in the Wineries controller doesnt exist,
> which is true, it doesnt exist - However, it should be trying to get the
> members_index() method.
>
> How can I accomplish a simple members_functionname() route setup?
> --
> View this message in 
> context:http://www.nabble.com/1.2-Custom-Routing--tp15142779p15142779.html
> Sent from the CakePHP mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
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