Cleaning up 10ad0e3f5a
This commit is contained in:
parent
10ad0e3f5a
commit
4be77a1d33
|
@ -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
|
Loading…
Reference in a new issue