Ruby: show a tag


#1

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

#2

Hi @peteislearning86,

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


#3

ok thanks a lot for your answer


#4

This topic is solved.