no pod_url
This commit is contained in:
parent
995d285fdd
commit
47671ac332
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ namespace :migrations do
|
|||
pod_url = "#{pod.scheme}://#{pod.host}"
|
||||
|
||||
if photo.image.url
|
||||
remote_path = "#{pod_url}#{photo.image.url}"
|
||||
remote_path = "#{photo.image.url}"
|
||||
else
|
||||
puts pod_url
|
||||
remote_path = "#{pod_url}#{photo.remote_photo_path}/#{photo.remote_photo_name}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue