IZ remote files
This commit is contained in:
parent
a75dfb0201
commit
ef7b9f58a7
1 changed files with 2 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ class Photo < Post
|
|||
end
|
||||
|
||||
def remote_photo= remote_path
|
||||
image.store! open(remote_path)
|
||||
image.download! remote_path
|
||||
image.store!
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue