[font="Tahoma"] [size="3"]Hi
I wanted use ControllerMap in yii2.I writed below code in my [color="#FF0000"]main.php[/color] config file:
[color="#FF0000"]‘controllerMap’ => [
'article' => [
'class' => 'backend\controllers\PostController',
'enableCsrfValidation' => false,
],
],[/color]
then I went to terminal for Ubuntu and then writed command of [color="#FF0000"]symlink of ln -s post/ article[/color]
,But when I used article controller instead of post controller,the error is occurred.
Please tell to me,how to use from ControllerMap in yii2 with example?[/size]
[/font]