<br>
class Controller_Mycontroller extends Controller_Rest {
<br>
...
<br>
<span style="white-space:pre"> </span>public function delete_delete($id) {
<span style="white-space:pre"> </span>
<span style="white-space:pre"> </span>...
<span style="white-space:pre"> </span>$ormObject = Model_Something::find($id);
<span style="white-space:pre"> </span>$ormObject->delete();
<br>
<span style="white-space:pre"> </span>return;
<span style="white-space:pre"> </span>}
<br>
}
<br>
This results in 500 errors with the following message:
Warning!
ErrorException [ Warning ]: array_merge(): Expected parameter 5 to be an array, string given
COREPATH/classes/input/instance.php @ line 302:
301: {
<strong>302: return array_merge($this->input_get, $this->input_post, $this->input_put, $this->input_patch, $this->input_delete);</strong>
303: }
It looks like you're new here. If you want to get involved, click one of these buttons!