From 435db1ecb1c60f7182e45264b8f25955d9d661a1 Mon Sep 17 00:00:00 2001 From: danielvincent Date: Thu, 26 Aug 2010 17:23:23 -0700 Subject: [PATCH] Pass the right url in websocketed photo json --- 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 5fcb0ea70..153aee214 100644 --- a/app/models/photo.rb +++ b/app/models/photo.rb @@ -63,6 +63,6 @@ class Photo < Post end def thumb_hash - {:thumb_url => image.url(:thumb_medium), :id => id, :album_id => album_id} + {:thumb_url => url(:thumb_medium), :id => id, :album_id => album_id} end end