Sha256: dbd9455287156de79d47736c0d961b8015d4840104b1e1d11a9cf9fde87f30d4

Contents?: true

Size: 220 Bytes

Versions: 9

Compression:

Stored size: 220 Bytes

Contents

json.array!(resources) do |photo|
  raise 'Implement index.json.jbuilder on your Model!'
  json.extract! photo, :id, :account_id #, :stock_item_id, :title, :image, :lng_lat
  json.url photo_url(photo, format: :json)
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
oxen_media-0.4.14 app/views/photos/index.json.jbuilder
oxen_media-0.4.13 app/views/photos/index.json.jbuilder
oxen_media-0.4.12 app/views/photos/index.json.jbuilder
oxen_media-0.4.11 app/views/photos/index.json.jbuilder
oxen_media-0.4.9 app/views/photos/index.json.jbuilder
oxen_media-0.4.8 app/views/photos/index.json.jbuilder
oxen_media-0.4.7 app/views/photos/index.json.jbuilder
oxen_media-0.4.1 app/views/photos/index.json.jbuilder
oxen_media-0.3.4 app/views/photos/index.json.jbuilder