Commit a7df9155 by Agrumas

fixed twig example in tpl engines tutorial

parent b0c88d33
...@@ -106,7 +106,7 @@ Class import: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment