Sha256: 4f78e0170dc9c04f72cc47d1835cc9a6aebfe2153b1e3dba228e060ccbc7a0c6

Contents?: true

Size: 569 Bytes

Versions: 36

Compression:

Stored size: 569 Bytes

Contents

#
# ishapi / venues / _index
#

json.n_venues venues.count
json.venues do
  json.array! venues do |venue|
    json.id          venue.id.to_s

    json.address     venue.address if venue.address.present?
    json.name        venue.name
    json.slug    venue.slug
    json.subhead     venue.subhead
    json.description venue.descr
    json.x           venue.x
    json.y           venue.y
    json.photo       venue.profile_photo ? venue.profile_photo.photo.url( :thumb ) : image_url('missing.png')
    json.partial! 'ishapi/tags/index', :tags => venue.tags
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
ishapi-0.1.8.194 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.193 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.192 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.191 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.190 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.189 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.188 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.187 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.185 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.184 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.183 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.182 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.181 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.180 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.178 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.177 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.176 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.175 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.174 app/views/ishapi/venues/_index.jbuilder
ishapi-0.1.8.173 app/views/ishapi/venues/_index.jbuilder