How do I redirect a user from the index action to the view action if the 
user has a particular role (i.e., member, as opposed to admin?

Note: I do NOT want to hear about routes. That might be the right way to go 
generally, but in this case it's not. I just want to know how to do an IF 
statement in the index action that will redirect the user to the view 
action. 

Thank you.

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to