photo.remote_photo is relative
This commit is contained in:
parent
76b4b55e98
commit
f6892b88d6
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ class Photo < Post
|
||||||
end
|
end
|
||||||
|
|
||||||
def remote_photo
|
def remote_photo
|
||||||
url
|
image.url.nil? ? (remote_photo_path + remote_photo_name) : image.url
|
||||||
end
|
end
|
||||||
|
|
||||||
def remote_photo= remote_path
|
def remote_photo= remote_path
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue