photo.remote_photo is relative

This commit is contained in:
ilya 2010-08-18 17:50:13 -07:00
parent 76b4b55e98
commit f6892b88d6

View file

@ -38,7 +38,7 @@ class Photo < Post
end
def remote_photo
url
image.url.nil? ? (remote_photo_path + remote_photo_name) : image.url
end
def remote_photo= remote_path