mapping the routes file is giving me trouble. just can’t figure out what i did wrong
In section 4,
https://www.codecademy.com/en/courses/learn-rails/lessons/one-many/exercises/one-many-display-tags
2.In the routes file, add a new route that maps requests to /tags to the Tags controller’s index action.
Open config/routes.db
Rails.application.routes.draw do
get '/tags' => 'tags#index'
1 Like