I am receiving this error "BlogPostsController#index is missing a template for request formats: text/html"
What I need help with is this - my file path seems correct, however, my views/layouts are not separate. My file path is: app> views> layouts> blog_posts> index.html.erb
What I am wondering is this - should my views and layouts be separate? If so, how do I separate them? I think it's looking in the wrong area possibly because views/layouts are separate? Maybe I'm way off base here. Idk.
If anyone can lend a hand or at least point me in right google direction, it would be greatly appreciated.
You can have a blog_posts layout however, the structure that you probably want here is the following:
app > views > blog_posts > index.html.erb
Thank you for your response. I am unable to get that structure because I can't separate layout from views. Do you know how I would go about that by chance?