Created
July 29, 2014 20:03
-
-
Save ahimmelstoss/3ad4726cec98fbd4c3c1 to your computer and use it in GitHub Desktop.
jbuilder for listings index
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
json.array!(@listings) do |listing| | |
json.extract! listing, :id, :address, :listing_type, :title, :description, :price, :neighborhood_id, :host_id | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment