Add more relationships to members on the api

This commit is contained in:
Brenda Wallace
2017-10-23 15:55:27 +13:00
parent d86e0af5ad
commit b60f47f502

View File

@@ -4,6 +4,10 @@ module Api
immutable
has_many :gardens
has_many :plantings
has_many :harvests
has_many :seeds
has_many :photos
attribute :login_name
end