Tried that to but gives me:
http://www.pages.local/accounts/edit/77123
So still no prefix 'my' like in http://www.pages.local/my/accounts/edit/77123

But in the manual it says in the section prefix:
Router::connect('/profiles/:controller/:action', array('prefix' =>
'profiles'));
Any calls to the profiles section would look for the profiles_ prefix
on the method calls

And that is what I did in the accounts_controller:
function my_edit() {}

Maybe the order of those two routes of mine must be different?

On 16 jul, 11:53, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On Wed, Jul 16, 2008 at 3:19 PM, Primeminister <[EMAIL PROTECTED]> wrote:
>
> > And then I use withing views:
> > $html->link('My pages',
>
> > array('admin'=>false,'prefix'=>'my','controller'=>'accounts','action'=>'my_edit',
> > $item['id']));
>
> 'action'=>'edit'
>
> Try with the above
>
> Tarique
>
> --
> =============================================================
> Cheesecake-Photoblog:http://cheesecake-photoblog.org
> PHP for E-Biz:http://sanisoft.com
> =============================================================
--~--~---------~--~----~------------~-------~--~----~
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