mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-18 13:11:25 -04:00
Add filters for the members api
This commit is contained in:
1 parent
0f1c6ae3b6
commit
d07c97b6a6
1 file changed
+4
@@ -7,9 +7,13 @@ module Api
|
||||
has_many :plantings
|
||||
has_many :harvests
|
||||
has_many :seeds
|
||||
|
||||
has_many :photos
|
||||
|
||||
attribute :login_name
|
||||
attribute :slug
|
||||
|
||||
filters :login_name, :slug
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user