module Api
  module V1
    class MemberResource < BaseResource
      immutable

      has_many :gardens
      has_many :plantings
      has_many :harvests
      has_many :seeds

      has_many :photos

      attribute :login_name
      attribute :slug

      filters :login_name, :slug
    end
  end
end

module Api
  module V1
    class MemberResource < BaseResource
      immutable

      has_many :gardens
      has_many :plantings
      has_many :harvests
      has_many :seeds
      has_many :photos

      attribute :login_name
    end
  end
end

--- 
+++ 
@@ -7,9 +7,13 @@
       has_many :plantings
       has_many :harvests
       has_many :seeds
+
       has_many :photos
 
       attribute :login_name
+      attribute :slug
+
+      filters :login_name, :slug
     end
   end
 end
Add filters for the members api
