Add filters for the members api

This commit is contained in:
Brenda Wallace
2019-03-17 15:19:04 +13:00
parent 0f1c6ae3b6
commit d07c97b6a6

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