Is there a way to share a view between different controllers? I want to
avoid creating the same/similar view for each controller. So I created
a view under one controller, and would like to be able to use that from
another.

For example, I'm in the Users Controller and want to call a view from
the Groups controller.

I tried $this->render('/Groups/view') but it tries to get the view from
../Users/Groups/view  which of course will be missing..

I tried $this->render(null, null,'/Groups/view') and that didn't work
either.

Running out of ideas to try. The quick solution is to create the same
view under the different controllers. That's something I like to avoid
if possible.

Thanks in advance for the help.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to