From 42f9ef89397c325121b5c8e9f0be300ce4dad493 Mon Sep 17 00:00:00 2001 From: Serge Postrash Date: Tue, 5 Aug 2014 15:53:04 +0400 Subject: [PATCH] Replaced backslashes with forward slashes in template path example [skip ci] Backslash after alias causes 'Invalid path alias' exception in `\yii\BaseYii::getAlias` --- docs/guide/tool-gii.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/tool-gii.md b/docs/guide/tool-gii.md index 69506f236d..984d1f42a3 100644 --- a/docs/guide/tool-gii.md +++ b/docs/guide/tool-gii.md @@ -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 ] ] ],