I do the right configuration, create the migrations and when voting, the message “not found” appears and the console shows an error/vote/default/vote 404 not found, the error says something about jquery. Would you help me?
'bootstrap' => [ 'chiliec\vote\components\VoteBootstrap', ], 'modules' => [ 'gridview' => [ 'class' => '\kartik\grid\Module' ], 'vote' => [ 'class' => 'chiliec\vote\Module', 'popOverEnabled' => true, 'models' => [ 1 => [ 'modelName' => \common\models\Assistencia::className(), 'allowGuests' => true, 'allowChangeVote' => true, ], ], ], ],
<div class="row"> <div class="col-md-12"> <?php echo \chiliec\vote\widgets\Vote::widget([ 'model' => $model, // optional fields // 'showAggregateRating' => true, ]); ?> </div> </div>
Chiliec, you said it could be a problem in the controller / action, where should I change it to work, which file? and another thing, do you think it might have something to do with the behaviors that make access control? because I haven’t defined who can like or not like this part, if that’s how I add it?
sorry for so many questions.