summaryrefslogtreecommitdiff
path: root/modules/comment/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/controllers')
-rw-r--r--modules/comment/controllers/comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/controllers/comments.php b/modules/comment/controllers/comments.php
index e19a2ec1..bb8aeb55 100644
--- a/modules/comment/controllers/comments.php
+++ b/modules/comment/controllers/comments.php
@@ -89,7 +89,7 @@ class Comments_Controller extends REST_Controller {
array("result" => "success",
"data" => $comment->as_array()));
} else {
- $view = new View("comment.html");
+ $view = new Theme_View("comment.html", "fragment");
$view->comment = $comment;
print $view;
}