codydaig / 911vm

2 stars 5 forks source link

getOne Person Restructure #4

Closed codydaig closed 5 years ago

codydaig commented 5 years ago

Here I reworked the Get a Single Volunteer to have the database logic refactored out of the controller. This way you have a single function responsible for getting the volunteer and setting up the object accordingly. Then the controller just worries about the HTTP request.

codydaig commented 5 years ago

Closing in Favor of #6