$this->response($array);Now using that or even putting "return" in front of that doesn't seem to get a response. The docs still show that using that is correct, but maybe they're outdated?
class Controller_Get extends Controller_Rest { public function get_user() { $user = DB::select('email') ->from('users') ->where('id', '=', Input::get('id')) ->execute()->as_array(); //Here I can print_r($user) and get the results I'm looking for //so I now it's routing correctly and I'm getting results //$this->response($user); return $user; } }Then I browse over to http://mydomain.com/get/user.xml?id=1 This is a fresh install of 1.3 with just the necessary config settings adjusted. Nothing is out of the ordinary. I'm hoping that this is just a stupid mistake on my part but I've spent hours trying to fix it myself.
It looks like you're new here. If you want to get involved, click one of these buttons!