Read this page . Basically, in the block passed to Application.routes.draw (which is just a call to the method defined in the ActionDispatch :: Routing module in the main Rails structure), you define all the URLs / paths that you want your Rails application to reacted to.
You can view all of these route definitions by doing:
rake routes
in your terminal.
source
share