Sha256: 61241c0053a486a2d1e0f30b426ce3dfbcc3f37ea8cffd37d62691f5770916c2
Contents?: true
Size: 367 Bytes
Versions: 21
Compression:
Stored size: 367 Bytes
Contents
# # ishapi / cities / index # key = [ ::IshModels::CacheKey.one.cities ] json.cache! key do 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 end
Version data entries
21 entries across 21 versions & 1 rubygems