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