We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Rails 7, I got an "ActionView::MissingTemplate Error" error when I try to use jbuilder as described in the following document.
ActionView::MissingTemplate Error
https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/docs/jbuilder.md
❌ Not working
<%= react_component('App', props: render(template: "/comments/index.json.jbuilder")) %>
✅ Working
<%= react_component('App', props: render(template: "/comments/index", formats: :json)) %>
https://stackoverflow.com/a/74683089/6037441
The text was updated successfully, but these errors were encountered:
Sorry for this, but this document seems outdated. I will take a look at the issue and docs in a couple of days and will let you know the result.
Thanks for your report.
Sorry, something went wrong.
ahangarha
No branches or pull requests
Problem
In Rails 7, I got an "
ActionView::MissingTemplate Error
" error when I try to use jbuilder as described in the following document.https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/docs/jbuilder.md
Solution
❌ Not working
✅ Working
Ref
https://stackoverflow.com/a/74683089/6037441
The text was updated successfully, but these errors were encountered: