In Chapters 2 and 4, you learned about routes. The configuration in config/routes.rb defines what happens in the Rails application when a user of a Rails application fetches a URL. A route can be static or dynamic and pass any dynamic values with variables to the controller. If several routes apply to the same URL, the one that is listed at the top of config/routes.rb wins.
If you do not have much time, you can skip this chapter for now and come back to it later if you have any specific questions. ...