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?

link git-hub repository

screenshot


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -