Commit d629f446

mo khan <mo@mokhan.ca>
2014-11-21 05:26:52
add thumb, large and original images to json.
1 parent c752824
Changed files (1)
app
views
app/views/api/v2/photos/_photo.json.jbuilder
@@ -1,4 +1,6 @@
 json.id photo.id
-json.url photo.url_for(:thumb)
+json.thumbUrl photo.url_for(:thumb)
+json.largeUrl photo.url_for(:large)
+json.originalUrl photo.url_for(:original)
 json.createdAt photo.created_at
 json.updatedAt photo.updated_at