Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update the README.md documentation

  • Loading branch information...
commit 80d8c0d66f664fe43d6f5c73c49cee18a23dc51d 1 parent a649d17
@opposite-bracket opposite-bracket authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
6 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";
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.