How to set default controller on yii project ?
Answer / Akash Deep Maurya
To set the default controller on a Yii project, modify the 'routes' array in the config/web.php file. For example, to set the HomeController as the default controller, add this line: 'route => ['class' => 'yiiwebRoute', 'defaultController' => 'home'],
| Is This Answer Correct ? | 0 Yes | 0 No |
How to use datetimepicker in yii2?
Can you remember what is directory structure when you downloaded yii?
What is yii?
What is yii framework?
What's new in yii release 2.0?
What is the latest version of yii?
What are yii helpers?
What is the component, uses, how can we do and what is the better way?
How does yii compare with other frameworks?
What is components in yii?
How to get current url in yii?
How to use delete(), insert() and save() methods in yii2?