My-Solar-Garden / rails_backend

Application that allows users to maximize their garden’s efficiency and carbon sequestration. Users can track the health of their gardens through light, temperature, and moisture sensors connected to RaspberryPis.
1 stars 1 forks source link

Edits create gardens method to include user #51

Closed drewwilliams5280 closed 4 years ago

drewwilliams5280 commented 4 years ago

Edits create method so that gardens are associated with a user when created.

Front end will need to pass their current_user.id as a param when making a garden post request.

50