master
1json.cache! ['v1', photo] do
2 json.id photo.id
3 json.cake_id photo.imageable_id
4 json.content_type photo.content_type
5 json.original_filename photo.original_filename
6 json.thumb_url photo.url_for(:thumb)
7 json.large_url photo.url_for(:large)
8 json.original_url photo.url_for(:original)
9 json.created_at photo.created_at
10 json.updated_at photo.updated_at
11end