Hi,
it would be nice to route ajax reqs directly.
I make a lot of
if ($this->isAJAX()){
// do ajax stuff
}
else {
// do other stuff
}
It would be nice to do this automatically, like:
$route['ajax']['/job/add'] = array('MyController', 'addJobViaAjax');
$route['post']['/job/add'] = array('MyController', 'addJobViaPost');
Would this be possible to integrate in the next release?
Thx,
coder
