New to rails and I went through the Hartl Tutorial and trying to make some changes. I would like to allow users to edit posts (which I am calling routes) and am getting this er
You have to set the @route variable in your edit action in the controller.
def edit @route = Route.find(params[:id]) end
That should do it.