I am trying to set up a controller and a view manually, without the
aid of scaffolding (though I am using a scaffolded model as reference).
I have set up my controller like this:
class RecetasController < ApplicationController
respond_to do |format|
I have created a single file named index.html.erb inside
app/views/receta. So far in only has a few HTML lines. When I access
http://localhost:3000/recetas, I get this message on my browser:
“Missing template recetas/index.erb in view path app/views”
What gives? Scaffolded models generate .html.erb files and they work
right! So I go ahead and change my view to be named index.erb. I still
get the same error message! What am I missing?