(mvc) add option to output raw data on api call

This commit is contained in:
Ad Schellevis 2015-10-12 21:24:45 +02:00
parent e508d11f6f
commit 7c0204bcfe

View File

@ -111,6 +111,9 @@ class ApiControllerBase extends ControllerRoot
echo json_encode($data);
}
} else {
// output raw data
echo $data;
}
}