Hi. Can you help me to understand how I can send data to action. I have module test, controller default and action index. In main controller I do this
$test = Yii::$app->getModule(‘test’);
return $test->runAction(‘default/index’);
This is how I render view from module.
But I want to send ajax request from default/index view, but I’ve got error 404. I send data on url - \Yii::$app->getUrlManager()->createUrl([‘test/default/index’]).
What am I doing wrong?