Skip to content

Commit

Permalink
REST_Controller.php: Whitespace tuning.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivantcholakov committed Jul 23, 2015
1 parent 913d074 commit 83f0c1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions application/libraries/REST_Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -657,10 +657,10 @@ public function _remap($object_called, $arguments)
{
// If the method doesn't exist, then the error will be caught and an error response shown
$this->response([
$this->config->item('rest_status_field_name') => FALSE,
$this->config->item('rest_message_field_name') => [
'classname' => get_class($ex),
'message' => $ex->getMessage()
$this->config->item('rest_status_field_name') => FALSE,
$this->config->item('rest_message_field_name') => [
'classname' => get_class($ex),
'message' => $ex->getMessage()
]
], self::HTTP_INTERNAL_SERVER_ERROR);
}
Expand Down

0 comments on commit 83f0c1c

Please sign in to comment.