url not path
This commit is contained in:
parent
a222edc646
commit
14533f6534
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ class Photo < Post
|
|||
|
||||
|
||||
def remote_photo
|
||||
User.first.url.chop + image.path
|
||||
User.first.url.chop + image.url
|
||||
end
|
||||
|
||||
def remote_photo= remote_path
|
||||
|
|
|
|||
Loading…
Reference in a new issue