$defaultView public property
The name of the default view when yii\web\ViewAction::$viewParam GET parameter is not provided by user. Defaults to 'index'. This should be in the format of 'path/to/view', similar to that given in the GET parameter.
See also yii\web\ViewAction::$viewPrefix.
public string $defaultView = 'index'
Please login to continue.