prix-fixe

Expand History Expand History
Collapse History Collapse History

Redirect to /notes after POST /notes requests

This commit modifies our NotesController#create action’s behavior. Instead of rendering a create.html.erb template, respond by redirecting the client to the notes#index route.

Since we’re redirecting away from the notes#create action, this commit removes the notes/create.html.erb template.