Why is not working, 1 question? Seems to be right!
Rails.application.routes.draw do
get '/tags' => 'tags#index'
end
get '/tags/:id' => 'tags#show', as: :tag
end
Why is not working, 1 question? Seems to be right!
Rails.application.routes.draw do
get '/tags' => 'tags#index'
end
get '/tags/:id' => 'tags#show', as: :tag
end
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.