New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

showAsLink() links to wrong resource #5

Open
MitchellMcKenna opened this Issue Feb 11, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@MitchellMcKenna
Copy link

MitchellMcKenna commented Feb 11, 2019

showAsLink() is linking to /nova/resources/products/111130 where the id is correct but the resource segment of the url is wrong, it should be /nova/resources/comments/111130.

Is there a way for it to know which resource it should be linking to (is something set during the make() call that ->showAsLink() chains off of could use)? If not, maybe we make that an optional param you can pass to showAsLink()? eg. ->showAsLink(true, Comment::class)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment