Add more relationships to members on the api

This commit is contained in:
Brenda Wallace committed 2017-11-13 19:19:18 +13:00
1 parent d86e0af5ad
commit b60f47f502
1 file changed
+4
+4
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