Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Inherits from Kohana_Controller_Template to avoid conflicts with other t... #36

Closed
wants to merge 1 commit into from

4 participants

@bistory

...emplate engines (kohana-twig for example) or deeply customized Controller_Template.

@bistory bistory Inherits from Kohana_Controller_Template to avoid conflicts with othe…
…r template engines (kohana-twig for example) or deeply customized Controller_Template.
289ccdb
@Kohana-Builds
Collaborator

Build Scheduled

@Zeelot
Owner

I don't think I agree with this. In my opinion, the proper way to use the template controller is to extend it with something like Controller_Page with any additional logic in there. Nothing should use the Kohana_* classes directly because we want to be able to extend the Controller_Template class in case we need to fix bugs or add functionality that should actually be present everywhere that uses it (including userguide).

@shadowhand shadowhand closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 6, 2012
  1. @bistory

    Inherits from Kohana_Controller_Template to avoid conflicts with othe…

    bistory authored
    …r template engines (kohana-twig for example) or deeply customized Controller_Template.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  classes/controller/userguide.php
View
2  classes/controller/userguide.php
@@ -6,7 +6,7 @@
* @category Controllers
* @author Kohana Team
*/
-class Controller_Userguide extends Controller_Template {
+class Controller_Userguide extends Kohana_Controller_Template {
public $template = 'userguide/template';
Something went wrong with that request. Please try again.