goHome() public method
Redirects the browser to the home page.
You can use this method in an action by returning the yii\web\Response directly:
// stop executing this action and redirect to home page return $this->goHome();
public yii\web\Response goHome ( ) | ||
---|---|---|
return | yii\web\Response |
The current response object |
Please login to continue.