Sha256: 53910b237493b87e92c34520de88d18f2cd084befb04e97f1a860d4105a7babc

Contents?: true

Size: 250 Bytes

Versions: 45

Compression:

Stored size: 250 Bytes

Contents

json.array! @cities do |city|
  json.id       city.id.to_s
  json.name     city.name
  json.cityname city.cityname
  json.x        city.x
  json.y        city.y
  if city.profile_photo
    json.photo city.profile_photo.photo.url( :thumb )
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
ishapi-0.1.8.73 app/views/ishapi/cities/_index.jbuilder
ishapi-0.1.8.72 app/views/ishapi/cities/_index.jbuilder
ishapi-0.1.8.71 app/views/ishapi/cities/_index.jbuilder
ishapi-0.1.8.70 app/views/ishapi/cities/_index.jbuilder
ishapi-0.1.8.69 app/views/ishapi/cities/_index.jbuilder