From 12fe58d997d2066dc362fd393a18b4e5da190513 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 27 May 2009 15:11:53 -0700 Subject: Rename 'kohana' to 'system' to conform to the Kohana filesystem layout. I'm comfortable with us not clearly drawing the distinction about the fact that it's Kohana. --- kohana/controllers/template.php | 54 ----------------------------------------- 1 file changed, 54 deletions(-) delete mode 100644 kohana/controllers/template.php (limited to 'kohana/controllers') diff --git a/kohana/controllers/template.php b/kohana/controllers/template.php deleted file mode 100644 index 34d1a226..00000000 --- a/kohana/controllers/template.php +++ /dev/null @@ -1,54 +0,0 @@ -template = new View($this->template); - - if ($this->auto_render == TRUE) - { - // Render the template immediately after the controller method - Event::add('system.post_controller', array($this, '_render')); - } - } - - /** - * Render the loaded template. - */ - public function _render() - { - if ($this->auto_render == TRUE) - { - // Render the template when the class is destroyed - $this->template->render(TRUE); - } - } - -} // End Template_Controller \ No newline at end of file -- cgit v1.2.3