summaryrefslogtreecommitdiff
path: root/modules/comment/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/controllers')
-rw-r--r--modules/comment/controllers/comments.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/comment/controllers/comments.php b/modules/comment/controllers/comments.php
index e4825a78..3838f7f0 100644
--- a/modules/comment/controllers/comments.php
+++ b/modules/comment/controllers/comments.php
@@ -74,6 +74,10 @@ class Comments_Controller extends REST_Controller {
print json_encode($comment->as_array());
break;
+ case "atom":
+ rest::http_content_type(rest::ATOM);
+ break;
+
default:
$v = new View("comment.$output_format");
$v->comment = $comment;