ogheo/yii2-comments

How to set action urls?

Closed this issue · 2 comments

How to set correct routes to comment create, thumbs-up and thumbs-down actions, because default values are related to page, where widget is called?

ogheo commented

You can see all default routes here: https://github.com/ogheo/yii2-comments/blob/master/src/Bootstrap.php

to access them you have to call for example: comments/default/create.

You can also overwrite them in main.php config file.

Thanks!