I’m stuck here. I have the route being mapped to the controller action defined correctly and the controller action also exist in the tags_controller
as seen in the image, but I still get this error:
This is the route get "/tags/:id" => "tags#show", as: :tag
I just fixed this. Checking out the tags/show.html.erb
file in the views folder, which the error message referenced as missing
, I noticed the color of the content in this file was all white as opposed to the normal html structure. I copied the content, deleted the file and created it again.
2 Likes