Commit 42f9ef89 by Serge Postrash

Replaced backslashes with forward slashes in template path example [skip ci]

Backslash after alias causes 'Invalid path alias' exception in `\yii\BaseYii::getAlias`
parent f59943aa
...@@ -187,7 +187,7 @@ if (YII_ENV_DEV) { ...@@ -187,7 +187,7 @@ if (YII_ENV_DEV) {
'crud' => [ //name generator 'crud' => [ //name generator
'class' => 'yii\gii\generators\crud\Generator', //class generator 'class' => 'yii\gii\generators\crud\Generator', //class generator
'templates' => [ //setting for out templates 'templates' => [ //setting for out templates
'myCrud' => '@app\myTemplates\crud\default', //name template => path to template 'myCrud' => '@app/myTemplates/crud/default', //name template => path to template
] ]
] ]
], ],
......
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