Open davidraijmakers opened 4 years ago
@davidraijmakers Thanks for letting us know about this! We'll be sure to take a look.
We're certainly open to a PR to change that behavior if you'd like to submit one.
@davidraijmakers Just submitted a pull request that fixes this issue.
https://github.com/kirschbaum-development/nova-comments/pull/22
Note: It always routes to the users resource. It doesn't take into account the 1% chance that something else than the user model can comment.
Any news with this PR @dvanscott @adammparker @brandonferens ?
In the nova config you can set the path for nova itself:
But this isn't taken into account for the following line of code, could this please be changed?
`commenterUrl() { let commenterId = _.find(this.comment.fields, { attribute: 'commenter' }).belongsToId;