Re: Redirect to Different Action in If Statement

2012-06-29 Thread kwixson
Thank you very much! I'll give that a try. Cheers, -Kevin On Thursday, June 28, 2012 7:45:08 AM UTC-4, MaJerle.Eu wrote: in your controller $this-redirect(array('action' = 'view')); -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/6/28 kwixson How do I redirect a user from

Redirect to Different Action in If Statement

2012-06-28 Thread kwixson
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