Ruby: show a tag


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

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


Hi @peteislearning86,

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


ok thanks a lot for your answer


This topic is solved.