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

Remove unnecessary find_partial method #36191

Merged
merged 1 commit into from May 6, 2019

Conversation

st0012
Copy link
Contributor

@st0012 st0012 commented May 6, 2019

The find_partial method just passes arguments to find_template and there's only one place that calls it. So I think it makes sense to remove it and reduce one unnecessary method call.

@rails-bot rails-bot bot added the actionview label May 6, 2019
@st0012 st0012 changed the title Remove useless find_partial method Remove unnecessary find_partial method May 6, 2019
@kamipo kamipo merged commit f0e2582 into rails:master May 6, 2019
@st0012 st0012 deleted the remove-useless-method branch May 6, 2019 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants