mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
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