summaryrefslogtreecommitdiff
path: root/modules/comment/controllers/comments.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-07 07:42:38 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-07 07:42:38 +0000
commit9460e08da87b9978e3e078e1ebf4c33705e060f3 (patch)
treeae053824bd84d7f288d9162ebf786ec707f6e9c7 /modules/comment/controllers/comments.php
parentba052c0cc94a1b1acbe3322e9e3705f71f7134ac (diff)
Create a new "fragment" page type to use when we're not sending back a fully themed page.
Diffstat (limited to 'modules/comment/controllers/comments.php')
-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;
}