diff --git a/extensions/smarty/README.md b/extensions/smarty/README.md index 45115ef..c40226c 100644 --- a/extensions/smarty/README.md +++ b/extensions/smarty/README.md @@ -47,7 +47,7 @@ return array( 'components' => array( 'view' => array( 'class' => 'yii\base\View', - 'viewRenderers' => array( + 'renderers' => array( 'tpl' => array( 'class' => 'yii\smarty\ViewRenderer', //'cachePath' => '@runtime/Smarty/cache', diff --git a/extensions/twig/README.md b/extensions/twig/README.md index 037f0e9..3372b3a 100644 --- a/extensions/twig/README.md +++ b/extensions/twig/README.md @@ -47,7 +47,7 @@ return array( 'components' => array( 'view' => array( 'class' => 'yii\base\View', - 'viewRenderers' => array( + 'renderers' => array( 'twig' => array( 'class' => 'yii\twig\ViewRenderer', //'cachePath' => '@runtime/Twig/cache',