Commit 27607b96

mo khan <mo@mokhan.ca>
2014-09-23 00:56:00
fix bug in json rendering of photo.
1 parent e6cc7d3
Changed files (1)
app
views
app/views/api/v1/photos/_photo.json.jbuilder
@@ -1,5 +1,5 @@
 json.id photo.id
-json.cake_id photo.creation_id
+json.cake_id photo.imageable_id
 json.content_type photo.content_type
 json.original_filename photo.original_filename
 json.thumb_url photo.url_for(:thumb)