Commit 7c0204bc authored by Ad Schellevis's avatar Ad Schellevis

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

parent e508d11f
......@@ -111,6 +111,9 @@ class ApiControllerBase extends ControllerRoot
echo json_encode($data);
}
} else {
// output raw data
echo $data;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment