Add filters for the members api

This commit is contained in:
Brenda Wallace committed 2019-03-20 15:01:33 +13:00
1 parent 0f1c6ae3b6
commit d07c97b6a6
1 file changed
+4
+4
View File
@@ -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