diff --git a/app/models/photo.rb b/app/models/photo.rb index db0caaa82..bedcdc143 100644 --- a/app/models/photo.rb +++ b/app/models/photo.rb @@ -38,7 +38,7 @@ class Photo < Post end def remote_photo - image.url.nil? ? (remote_photo_path + remote_photo_name) : image.url + image.url.nil? ? (remote_photo_path + '/' + remote_photo_name) : image.url end def remote_photo= remote_path