app/views/ishapi/reports/show.jbuilder in ishapi-0.1.8.17 vs app/views/ishapi/reports/show.jbuilder in ishapi-0.1.8.18
- old
+ new
@@ -8,7 +8,13 @@
json.report do
json.id @report.id.to_s
json.name @report.name
json.reportname @report.name_seo
json.description @report.descr
+
+ # @TODO: move this to meta
+ json.cityname @report.city.cityname if @report.city
+ json.username @report.username
+ json.tagname @report.tag.name_seo if @report.tag
+
end
end