Pass the right url in websocketed photo json

This commit is contained in:
danielvincent 2010-08-26 17:23:23 -07:00
parent b8fb228d2f
commit 435db1ecb1

View file

@ -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