From 14533f65343eaad20cadc7d70b937c8771f5f7de Mon Sep 17 00:00:00 2001 From: ilya Date: Wed, 21 Jul 2010 21:13:31 -0700 Subject: [PATCH] url not path --- app/models/photo.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/photo.rb b/app/models/photo.rb index 8964e0089..08f72a4b2 100644 --- a/app/models/photo.rb +++ b/app/models/photo.rb @@ -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