php - Wrong path for submitting AJAX request in yii2-comments -
i have added dependency composer.json have appied migration. wrote web.php (config):
'comment' => [ 'class' => 'cyneek\comments\module', 'useridentityclass' => 'user\identity', 'controllermap' => [ 'comments' => 'cyneek\comments\controllers\managecontroller' ] ],
have added code manage comments via admin panel , 2 problem: route turn me 404: r=admin/comments/index
in view files have added widget code, , comment form displayed. when try submit - ajax debugger turn 404 route: /comment/default/create (see screenshot) i'm doing wrong?
Comments
Post a Comment