mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-08 00:48:06 -05:00
Add filters for the members api
This commit is contained in:
@@ -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