mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-20 14:04:21 -04:00
Add more relationships to members on the api
This commit is contained in:
1 parent
d86e0af5ad
commit
b60f47f502
1 file changed
+4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user