Add filters for the members api

This commit is contained in:
Brenda Wallace
2019-03-17 15:19:04 +13:00
parent 8a52025f03
commit 37693e8d12

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