[eluser]Thorpe Obazee[/eluser]
[quote author="Arun Joshi" date="1244643788"]
@cahva,
I want to check the ajax call in a function in my controller. My controller is common for functions other than ajax calls. So I cant include this ajax path checking in my constructor.
I need to check it in my function say ajaxRemove() in my controller say 'posts'[/quote]
Then check only in that method instead of putting it in the constructor.