Browse files

fix comment permalink in /usercomments

  • Loading branch information...
1 parent 5bf5102 commit 62f8bd75a7ef5056411b4ae499a5f6601efc42f0 @antirez committed Oct 29, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 app.rb
View
1 app.rb
@@ -1528,6 +1528,7 @@ def get_user_comments(user_id,start,count)
news_id,comment_id = id.split('-')
comment = Comments.fetch(news_id,comment_id)
if comment
+ comment['id'] = comment_id
comment['news_id'] = news_id
comments << comment if comment
end

0 comments on commit 62f8bd7

Please sign in to comment.