Show a Tag 5/9


#1

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


#2

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.


#3

This topic is solved.