prix-fixe

Expand History Expand History
Collapse History Collapse History

Rename get "/" route to “root”

This commit refactors the Request Routing layer of our application to name the GET / route.

By passing as: "root" as an option to the get "/" declaration, the routing configuration will declare root_path and root_url helper methods that will be available in the application’s controllers and view templates.

When the tests are run again, they’re still passing.