diff options
Diffstat (limited to 'modules/comment/controllers')
-rw-r--r-- | modules/comment/controllers/comments.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/controllers/comments.php b/modules/comment/controllers/comments.php index 09b9c607..74e0c974 100644 --- a/modules/comment/controllers/comments.php +++ b/modules/comment/controllers/comments.php @@ -47,7 +47,7 @@ class Comments_Controller extends REST_Controller { break; case "html": - $view = new Theme_View("comments.html", "page"); + $view = new Theme_View("comments.html", "other", "comment"); $view->comments = $comments; print $view; break; @@ -130,7 +130,7 @@ class Comments_Controller extends REST_Controller { "created" => $comment->created, "text" => nl2br(html::purify($comment->text))))); } else { - $view = new Theme_View("comment.html", "fragment"); + $view = new Theme_View("comment.html", "other", "comment-fragment"); $view->comment = $comment; print $view; } |