charliegriefer/my-whiskies

Clean up main routes file

charliegriefer opened this issue · 1 comments

  • Create a function to see if the current user is logged in and owns the list.
  • Create a function to take a list of bottles and return a random bottle.
  • Any other code duplication that we can clean up.

This is done with #145