try
{
$user = new Model_user($data);
$user->save();
$this->response($data,201);
}
catch(Orm\ValidationFailed $e)
{
$this->response('',500);
}
It looks like you're new here. If you want to get involved, click one of these buttons!