Skip to content

Couldn't find a template file or inline render method for FaqComponent::QuestionComponent #1419

Answered by BlakeWilliams
mur-wtag asked this question in General
Discussion options

You must be logged in to vote

@mur-wtag It looks like you haven't defined a template or call method for the QuestionComponent nested in the FaqComponent, that's the source of your errors.

That's why it fails at <%= q %>, which is trying to render the QuestionComponent. If you add a app/components/faq_component/question_component.html.erb file that would likely resolve the issue.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mur-wtag
Comment options

Answer selected by mur-wtag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants