Sha256: b87781265146ef33bce9dd00c8e06aecd8d4745750de5f6650749552e2f472d7

Contents?: true

Size: 342 Bytes

Versions: 5

Compression:

Stored size: 342 Bytes

Contents

#
# ishapi / application / _meta
#

if item.city
  json.city do
    json.name item.city.name
  end
  json.cityname item.city.cityname
end
if defined?(item.tag) && !item.tag.blank?
  json.partial! 'ishapi/tags/index', tags: [ item.tag ]
end
if defined?(item.tags) && !item.tags.blank?
  json.partial! 'ishapi/tags/index', tags: item.tags
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ishapi-0.1.8.126 app/views/ishapi/application/_meta.jbuilder
ishapi-0.1.8.125 app/views/ishapi/application/_meta.jbuilder
ishapi-0.1.8.124 app/views/ishapi/application/_meta.jbuilder
ishapi-0.1.8.123 app/views/ishapi/application/_meta.jbuilder
ishapi-0.1.8.122 app/views/ishapi/application/_meta.jbuilder