Ruby template error

Asked

Viewed 72 times

0

I got this mistake while trying to learn the basics of ruby someone knows how to solve?

Missing template articles/index, application/index with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}. Searched in: * "c:/Sites/blog/app/views"                               
  • Glue your code and your project structure, we’ve solved this problem!

1 answer

3


This error occurs when you try to call a template(view) that does not exist.

Try to create the Index method put on the route and create the index view.

[]s

Browser other questions tagged

You are not signed in. Login or sign up in order to post.