master
1json.cache! ['v2', photo] do
2 json.id photo.id
3 json.thumbUrl photo.url_for(:thumb)
4 json.largeUrl photo.url_for(:large)
5 json.originalUrl photo.url_for(:original)
6 json.createdAt photo.created_at
7 json.updatedAt photo.updated_at
8end