prix-fixe

Expand History Expand History
Collapse History Collapse History

Replace get "/" declaration with root

This commit refactors the Request Routing configuration file again.

It replaces the get "/" declaration with a call to root. The root call accepts the same arguments as the match routing helper.

In this case, declaring controller: "notes" and action: "index" is all that’s necessary to route GET / requests to the NotesController#index action.

When the tests are run again, they pass.