summaryrefslogtreecommitdiff
path: root/core/controllers/rest.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-16 19:12:01 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-16 19:12:01 +0000
commit5d14531af936a9ab2887fac9d1f056a1d712b051 (patch)
treedae9122156ba8f1f4f577b6412f7b4cf559aab2b /core/controllers/rest.php
parentbcb2230a6b081d17978f18458e6db756a3dbd6e1 (diff)
Drop the call to render() and just use the View's __toString method to
print it out.
Diffstat (limited to 'core/controllers/rest.php')
-rw-r--r--core/controllers/rest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/controllers/rest.php b/core/controllers/rest.php
index 4a6c4eb4..aee4f527 100644
--- a/core/controllers/rest.php
+++ b/core/controllers/rest.php
@@ -72,7 +72,7 @@ abstract class REST_Controller extends Controller {
if (Session::instance()->get("use_profiler", false)) {
$profiler = new Profiler();
- print $profiler->render();
+ $profiler->render();
}
return;
}