This might help:

http://bakery.cakephp.org/articles/view/secrets-of-admin-routing

On Sat, Jul 18, 2009 at 3:26 AM, Karmu<[email protected]> wrote:
>
> Hi All,
>  Cakephp follows excellent MVC architecture. I try to follow it to
> the max extent i can. But in some situations like following I need you
> expert suggestions. Thanks for reading further, to invest your
> precious time and  to share your knowledge.
>
> Problem Description:
>  I have two controllers with there respective models and views (add
> edit view delete)
> Controllers-
> 1. SuperAdmins
> 2. Products
>
> What I need is, when i am in Superadmin page 
> www.mysite.com/superadmins/productaction_list
> and I click view product it takes me to view action of Products (I use
> redirect method) and the url changes to www.mysite.com/products/view
>
> I do not want url to change to the type mentioned above. I want
> something like www.mysite.com/superadmins/product_view instead
>
> Is this possible, I had a feeling that routing can do this tried
> reading it in manual but I didn't understand if I can achieve above
> using that?
>
> Regards,
> Karmendra
>
> >
>

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