Here I've moved the edit action to be below the create action. The order of actions doesn't make any difference but 99% of controllers in the wild will order them in a specific way (index-show-new-create-edit-update-destroy, assuming all actions are there), so adhering to this practice keeps the controller cleaner and easy to scan.