Friday, June 24, 2011

Render

Hi,

I have two actions in post controller

view and random

in random i render view action. But in view action i check the id for empty. If it is empty then i redirect it to root of the site.
so, random is always getting redirected to home page.

If i use different view file for random action, then i duplicate. Is there any other way?

Thanks

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: