Pass the right url in websocketed photo json
This commit is contained in:
parent
b8fb228d2f
commit
435db1ecb1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue