Sha256: f1a107ad72ffb88b82532ef26d753901581a377087170e6b206a543e081b7e42

Contents?: true

Size: 527 Bytes

Versions: 10

Compression:

Stored size: 527 Bytes

Contents

#
# ishapi / cities / show
#

key = [ @city, params.permit! ]
json.cache! key do
  json.city do
    json.id          @city.id.to_s
    json.name        @city.name
    json.cityname    @city.cityname
    json.description @city.description
    json.x           @city.x
    json.y           @city.y
    json.partial! 'ishapi/newsitems/index', :newsitems => @city.newsitems
    json.partial! 'ishapi/galleries/index', :galleries => @city.galleries
    json.partial! 'ishapi/reports/index',   :reports   => @city.reports
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ishapi-0.1.8.9 app/views/ishapi/cities/show.jbuilder
ishapi-0.1.8.8 app/views/ishapi/cities/show.jbuilder
ishapi-0.1.8.7 app/views/ishapi/cities/show.jbuilder
ishapi-0.1.8.6 app/views/ishapi/cities/show.jbuilder
ishapi-0.1.8.5 app/views/ishapi/cities/show.jbuilder
ishapi-0.1.8.4 app/views/ishapi/cities/show.jbuilder
ishapi-0.1.8.3 app/views/ishapi/cities/show.jbuilder
ishapi-0.1.8.2 app/views/ishapi/cities/show.jbuilder
ishapi-0.1.8 app/views/ishapi/cities/show.jbuilder
ishapi-0.1.6 app/views/ishapi/cities/show.jbuilder