This blog is a continuation of Rails Routes P.1 Understanding Route Structure
A common task when building Rails applications is creating custom routing, so let's look at a few ways we can restructure the anatomy of our routes.rb file.
Changing the URL of a static generated page.
Let's start with the common task of routing static pages, say we generate two pages with;
rails g controller Pages about contact