Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to set default controller on yii project ?



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

Post New Answer

More Yii PHP Framework Interview Questions

How to use datetimepicker in yii2?

1 Answers  


Can you remember what is directory structure when you downloaded yii?

1 Answers  


What is yii?

1 Answers  


What is yii framework?

1 Answers  


What's new in yii release 2.0?

1 Answers  


What is the latest version of yii?

0 Answers  


What are yii helpers?

1 Answers  


What is the component, uses, how can we do and what is the better way?

1 Answers  


How does yii compare with other frameworks?

1 Answers  


What is components in yii?

1 Answers  


How to get current url in yii?

1 Answers  


How to use delete(), insert() and save() methods in yii2?

1 Answers  


Categories