From 80d8c0d66f664fe43d6f5c73c49cee18a23dc51d Mon Sep 17 00:00:00 2001 From: "J. Rodriguez Ravelo" Date: Tue, 9 Aug 2011 11:16:20 -0700 Subject: [PATCH] update the README.md documentation --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 26777ce..681181f 100644 --- a/README.md +++ b/README.md @@ -28,20 +28,20 @@ Installation 1. `git submodule add https://ThePixelDeveloper@github.com/ThePixelDeveloper/kohana-twig.git modules/twig` 2. `cd modules/twig && git submodule update --init` 3. Enable twig in your bootstrap.php file -4. Extend `Controller_Template_Twig` +4. Extend `Controller` Usage ----- Pretty similar to using the Controller\_Template class. - class Controller_Example extends Controller_Template_Twig + class Controller_Example extends Controller { // Template names are generated automatically if not specified. So this // action would map to: example/index.html public function action_index() { - $this->template->variable = "Hello World"; + $this->variable = "Hello World"; } }