Commit 2df21b35 by Alexander Makarov

Merge pull request #5916 from Agrumas/patch-1

fixed twig example in tpl engines tutorial
parents b0c88d33 a7df9155
...@@ -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