Well, if you already have something set up like

    function edit($id = null) {
        ...
    }

You can simply wrap the method. This is PHP after all.

    function manage_edit($id = null) {
        $this->edit($id);
    }

And if you also want to render the "edit" view:

    function manage_edit($id = null) {
        $this->edit($id);
        $this->render('edit');
    }

On Nov 1, 7:30 am, "Dave" <[email protected]> wrote:
> I have 2 routes defined for different groups. manage_ and editor_
>
> Now I have a few functions that either group can access so i could easily
> just change the action name to edit rather than manage_edit and editor_edit
>
> but how can i set it up so manage_edit and editor_edit both end up at edit
> but the user will see manage/edit or editor/edit
>
> Thanks
>
> Dave
--~--~---------~--~----~------------~-------~--~----~
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