mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-27 06:49:09 -04:00
Create a new "fragment" page type to use when we're not sending back a fully themed page.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user