Permalink
Browse files

hardcode response format

  • Loading branch information...
1 parent 19b772d commit 1d6d1ba9dfe59d29de752244fdc9b34763ed3a1e @cantlin committed Mar 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sleepy.php
View
2 sleepy.php
@@ -284,7 +284,7 @@ function render($payload, $status_code = 200) {
$response = \Sleepy\Response::getInstance();
$response->status = $status_code;
$response->body = empty($body) ? \Sleepy\Response::$status_messages[$status_code] : $body;
- $response->format = $format;
+ $response->format = 'json';
return true;
}

0 comments on commit 1d6d1ba

Please sign in to comment.