Skip to content
This repository has been archived by the owner on Aug 2, 2019. It is now read-only.

Commit

Permalink
Merge branch 'apiv2-201-new-comment'
Browse files Browse the repository at this point in the history
  • Loading branch information
dstockto committed Mar 15, 2013
2 parents 0131f6a + 53dff1c commit b0c63c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api-v2/controllers/TalksController.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ protected function postAction($request, $db) {
$data['rating'] = $rating; $data['rating'] = $rating;


$comment_mapper->save($data); $comment_mapper->save($data);
header("Location: " . $request->base . $request->path_info); header("Location: " . $request->base . $request->path_info, true, 201);
exit; exit;
} }
} else { } else {
Expand Down

0 comments on commit b0c63c1

Please sign in to comment.