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
Use and prefer view config components by default over the default view config partials #2523
Conversation
65b6a09
to
d962fef
Compare
I've been playing around with upgrading one of our instances to latest changes and it fails with that, but with this branch I'm able to upgrade without issues. |
Hm. I wouldn't expect that #2458 would have changed anything. Can you provide more detail about what the issue was? I do think the repurposed partial configuration here will make migration easier (but are difficult to make backwards compatible), so maybe that's it? |
@cbeer the error I getting at fd33c74 is NoMethodError in Catalog#showShowing /Users/dkinzer/projects/funnel_cake/app/views/catalog/_show.html.erb where line #1 raised:
Extracted source (around line #1):
Which happens when I try to look at a document. If I switch to this branch the issue is resolved. |
Also, we are overriding that template that is failing with this
|
….x defaults are gone
…ht 7.x show_header better
@dkinzer |
Now that we're enabling and configuring view components enabled by default, we can stop configuring partials by default. Partial configuration is still available and will append the rendered content to the document.