From 8d87f07d3173bc6698f2bf2f3604593474ed44e0 Mon Sep 17 00:00:00 2001 From: ilya Date: Thu, 22 Jul 2010 09:55:13 -0700 Subject: [PATCH] using owner instead of first user --- 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 08f72a4b2..d2a92c922 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.url + User.owner.url.chop + image.url end def remote_photo= remote_path