diff --git a/slices/admin/decorators/posts/decorator.rb b/slices/admin/decorators/posts/decorator.rb index a5b4ede..dfee5dd 100644 --- a/slices/admin/decorators/posts/decorator.rb +++ b/slices/admin/decorators/posts/decorator.rb @@ -42,7 +42,7 @@ module Admin def key_image if photos? - return photos.first["url"] + return photos.first["value"] end inline_images.first[1] if inline_images diff --git a/slices/main/decorators/posts/decorator.rb b/slices/main/decorators/posts/decorator.rb index 028d606..91a7831 100644 --- a/slices/main/decorators/posts/decorator.rb +++ b/slices/main/decorators/posts/decorator.rb @@ -42,7 +42,7 @@ module Main def key_image if photos? - return photos.first["url"] + return photos.first["value"] end if videos?