Skip to content

Commit

Permalink
Replaced backslashes with forward slashes in template path example [s…
Browse files Browse the repository at this point in the history
…kip ci]

Backslash after alias causes 'Invalid path alias' exception in `\yii\BaseYii::getAlias`
  • Loading branch information
SDKiller committed Aug 5, 2014
1 parent f59943a commit 42f9ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/tool-gii.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ if (YII_ENV_DEV) {
'crud' => [ //name generator
'class' => 'yii\gii\generators\crud\Generator', //class generator
'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
]
]
],
Expand Down

0 comments on commit 42f9ef8

Please sign in to comment.