mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-22 17:48:37 +08:00
Merge pull request #5916 from Agrumas/patch-1
fixed twig example in tpl engines tutorial
This commit is contained in:
@@ -106,7 +106,7 @@ Class import:
|
||||
{{ use('/yii/widgets/ActiveForm') }}
|
||||
|
||||
Aliased class import:
|
||||
{{ use({'alias' => '/app/widgets/MyWidget'}) }}
|
||||
{{ use({'alias' : '/app/widgets/MyWidget'}) }}
|
||||
```
|
||||
|
||||
#### Referencing other templates
|
||||
|
||||
Reference in New Issue
Block a user