[eluser]CroNiX[/eluser]
Why not just use your regular controller and not have a separate ajax controller? I use forms with the action submitting to the class/method for that form, but also use the same class/method to validate the form if it was submitted via ajax. Why the duplication? Is the data somehow different if submitted via ajax?
Edit:
It seems the only difference would be in how you return anything, in which case you could use
Code:
if ($this->input->is_ajax_request())
and return either json or html (or whatever you're doing)