where we can specify default controller and action in yii

php, yii

Solution

add the configuration in the config main.php

return array(
    'name' => 'Web Application',
    'defaultController' => 'home', 
    ......
);

Problem

I have created one project in yii and my default controller points to site controller . I want to change it with some other and where i can specify default controller and action in yii.

Original source

Related problems