• Stefan Wintermeyer


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 and 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.

Copyright information

© Stefan Wintermeyer 2018

Authors and Affiliations

  • Stefan Wintermeyer
    • 1
  1. 1.BochumGermany

Personalised recommendations