Yes it is an element

On Friday, June 21, 2013 2:23:34 PM UTC-4, euromark wrote:
>
> where do you run this statement?
> in the view ctp?
>
>
> Am Freitag, 21. Juni 2013 18:31:07 UTC+2 schrieb Eric Haskins:
>>
>> Hey All,
>>
>>       I am running cakePhp latest and I just ran into an issue with 
>> requestAction and my auth.   It seems like even though I allow index action 
>> in my NewsController 
>>
>> $latest_news = $this -> requestAction(array('controller' => 
>> 'news','action' => 
>> 'index'),array('named'=>array('limit'=>10,'sort'=>'desc')));   
>>
>> will result in a "Your Not Authorized To View This" redirect to 
>> login........ Im stumped should I move my auth to a different location than 
>> beforeFilter in appcontroller?
>>
>>
>> Eric
>>
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to