app/views/ishapi/galleries/_show.jbuilder in ishapi-0.1.8.151 vs app/views/ishapi/galleries/_show.jbuilder in ishapi-0.1.8.153
- old
+ new
@@ -1,9 +1,12 @@
#
# ishapi / galleries / _show
#
+
+# @TODO: remove this file, this looks like a newsitem
+
json.id gallery.id.to_s
-json.item_type 'gallery'
+json.item_type gallery.class.name
json.name gallery.name
json.galleryname gallery.galleryname
json.description gallery.description
json.username gallery.username || 'piousbox'
json.n_photos gallery.photos.length
\ No newline at end of file