So it should be more like this?

def index
#code
 end

def new
#code
end