app/views/ishapi/maps/show.jbuilder in ishapi-0.1.8.154 vs app/views/ishapi/maps/show.jbuilder in ishapi-0.1.8.155
- old
+ new
@@ -24,11 +24,21 @@
json.slug b[:slug]
json.link b[:link]
end
end
+ ## I removed json parsing from here! _vp_ 2021-10-14
+ if @map.parent_slug.present?
+ json.config @map.parent.config
+ json.labels @map.parent.labels
+ else
+ json.config @map.config
+ json.labels @map.labels
+ end
+
json.partial! 'ishapi/markers/index', map: @map
+ puts! @newsitems, 'these first'
if @newsitems
json.partial! 'ishapi/newsitems/index', :newsitems => @newsitems
end
if @galleries