lib/link_thumbnailer/models/website.rb in link_thumbnailer-2.4.0 vs lib/link_thumbnailer/models/website.rb in link_thumbnailer-2.5.0
- old
+ new
@@ -40,11 +40,11 @@
{
url: url.to_s,
favicon: favicon,
title: title,
description: description,
- images: images,
- videos: videos
+ images: images.map(&:as_json),
+ videos: videos.map(&:as_json)
}
end
end
end