Merge pull request #5916 from Agrumas/patch-1

fixed twig example in tpl engines tutorial
This commit is contained in:
Alexander Makarov
2014-11-04 23:44:00 +03:00

View File

@@ -106,7 +106,7 @@ Class import:
{{ use('/yii/widgets/ActiveForm') }} {{ use('/yii/widgets/ActiveForm') }}
Aliased class import: Aliased class import:
{{ use({'alias' => '/app/widgets/MyWidget'}) }} {{ use({'alias' : '/app/widgets/MyWidget'}) }}
``` ```
#### Referencing other templates #### Referencing other templates