Skip to content
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

Self referential link in Scaffold Partial #43843

Closed
fig opened this issue Dec 12, 2021 · 1 comment · Fixed by #43846
Closed

Self referential link in Scaffold Partial #43843

fig opened this issue Dec 12, 2021 · 1 comment · Fixed by #43846

Comments

@fig
Copy link
Contributor

fig commented Dec 12, 2021

#41210 Introduced a Modernised Scaffold Generator. The modernised scaffold includes a partial template that has a link to itself.

Because the partial is rendered in response to both an index and a show action, the link is rendered redundantly in response to a show request.

@ghiculescu
Copy link
Member

Thanks for the report. Looks like an oversight we should fix. Would you like to make a PR to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants