This commit is contained in:
Woody Gilk 2009-06-17 10:48:30 -05:00
parent 10ad0e3f5a
commit 4be77a1d33

View file

@ -32,15 +32,9 @@ class Controller_Template_Core extends Controller {
{ {
if ($this->auto_render === TRUE) if ($this->auto_render === TRUE)
{ {
// Assigns the template as the request response // Assign the template as the request response and render it
$this->request->response = $this->template; $this->request->response = $this->template->render();
} }
else
{
// Nothing to render here.
$this->request->reposnse = '';
}
} }
} // End Controller_Template } // End Controller_Template