Permalink
Browse files

Merge branch 'apiv2-201-new-comment'

  • Loading branch information...
2 parents 0131f6a + 53dff1c commit b0c63c1b36eee0cda6bd34b1f7311ae783136796 @dstockto dstockto committed Mar 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/api-v2/controllers/TalksController.php
@@ -72,7 +72,7 @@ protected function postAction($request, $db) {
$data['rating'] = $rating;
$comment_mapper->save($data);
- header("Location: " . $request->base . $request->path_info);
+ header("Location: " . $request->base . $request->path_info, true, 201);
exit;
}
} else {

0 comments on commit b0c63c1

Please sign in to comment.