No,

I check in view action (inside controller only. Not in view)
In view action of a controller, if there is no id, then i redirect.

For random, 
i render $this->render('view');

function view($id = '') 
it has no id passed for random, so, i goes to home page.

Random and View both use same layout. What to do?

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to