app/controllers/caboose_rets/media_controller.rb in caboose-rets-0.0.69 vs app/controllers/caboose_rets/media_controller.rb in caboose-rets-0.0.70
- old
+ new
@@ -100,12 +100,12 @@
:image => {
:file_name => m.image_file_name,
:content_type => m.image_content_type,
:file_size => m.image_file_size,
:update_at => m.image_updated_at,
- :tiny_url => m.image.url(:tiny),
- :thumb_url => m.image.url(:thumb),
- :large_url => m.image.url(:large)
+ :tiny_url => m.image_url(:tiny),
+ :thumb_url => m.image_url(:thumb),
+ :large_url => m.image_url(:large)
},
:file => {
:file_name => m.file_file_name,
:content_type => m.file_content_type,
:file_size => m.file_file_size,