Hi!
I want to display different view for different controller in one view!
What is the best practices for this?
Now i have called de views from another controller like this:
echo \Yii::$app->view->render('@app/views/anothercontroller/view',[
'datamodel' => $model2,
]);
This is the beste method to include views in one view?
Thanks for help