Skip to content
Browse files

Updated README.

  • Loading branch information...
1 parent ccff96c commit a482985d070f3ce36599dbbecd744396370af065 @akhawaja akhawaja committed
Showing with 4 additions and 2 deletions.
  1. +4 −2 README.md
View
6 README.md
@@ -7,7 +7,7 @@ TwigView replaces the default Laravel View class with the
1. Download the Source
1. Register the Bundle with Laravel
-1. Replace the View alias
+1. Replace the View alias (optional)
### Download the Source ###
@@ -27,7 +27,7 @@ In the *application/bundles.php* file, register the TwigView bundle
)
```
-### Replace the View alias ###
+### Replace the View alias (optional) ###
In the *application/config/application.php* file, replace the alias with the following:
@@ -38,6 +38,8 @@ In the *application/config/application.php* file, replace the alias with the fol
);
```
+If you leave the alias as-is, you can still call \TwigView\View in your controllers.
+
## Usage ##
All your views must have the *.twig* file extension. You can use the TwigView\View object in the same

0 comments on commit a482985

Please sign in to comment.
Something went wrong with that request. Please try again.