It's difficult to say without seeing your code. Define "can't use".
On Tue, Nov 6, 2012 at 5:57 PM, sbang4 <[email protected]> wrote: > I have an issue with using redirect in beforeFilter. > > First, it seems that I can't use redirect in appcontroller(beforeFilter). Is > there a way around? > I've tried with Auth component allowing all actions and it worked. > But I don't think this is a proper way to do it. > > Second, I can't redirect user to the action in the same controller. (in > beforeFilter) > It works fine when it redirects to another controller's action. > > Thanks in advance. > > > > > > > -- > View this message in context: > http://cakephp.1045679.n5.nabble.com/redirect-in-beforeFilter-tp5712093.html > Sent from the CakePHP mailing list archive at Nabble.com. > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > Visit this group at http://groups.google.com/group/cake-php?hl=en. > > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en.
