Ruby: show a tag

Why is not working, 1 question? Seems to be right!

https://www.codecademy.com/courses/learn-rails/lessons/one-many/exercises/one-many-show-tag?action=lesson_resume

Rails.application.routes.draw do
	get '/tags' => 'tags#index'
end
get '/tags/:id' => 'tags#show', as: :tag
end

Hi @peteislearning86,

You can only have one end for everything you open. Remove the end keyword on line 3, and your code should work.

2 Likes

ok thanks a lot for your answer

This topic is solved.