Replace "/notes"
with notes_path
invocation
Similar to the previous commit, this commit refactors the Request
Routing and View layers of our application.
This commit appends an as: "notes"
option to the post "/notes"
route
declaration in order to declare notes_path
and notes_url
routing
helpers.
Once available, replace our form_with
invocation’s url: "/notes"
option with url: notes_path
.
When we run the test suite, it passes.