Routing in Rails allows defining the URLs that map to controller actions. The document discusses various routing configurations including:
1. Defining a root path for the site to map to a controller action.
2. Generating routes for RESTful resources like pages and namespaced admin pages.
3. Nesting resources so comments are nested under pages.
4. Adding custom routes mapped to actions on collections or members.