How to change default view path in Yii2?
You can redefine getViewPath method at your base controller. Like
public function getViewPath()
{
return Yii::getAlias('@frontend/views/newview');
}
You can redefine getViewPath method at your base controller. Like
public function getViewPath()
{
return Yii::getAlias('@frontend/views/newview');
}