Permalink
Browse files

update the README.md documentation

  • Loading branch information...
1 parent a649d17 commit 80d8c0d66f664fe43d6f5c73c49cee18a23dc51d J. Rodriguez Ravelo committed Aug 9, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
@@ -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";
}
}

0 comments on commit 80d8c0d

Please sign in to comment.