1. Dan Jacob
  2. newsmeme

Commits

danjac  committed 76e9bb4

vote permissions fix

  • Participants
  • Parent commits 0e05939
  • Branches default

Comments (0)

Files changed (1)

File newsmeme/views/comment.py

View file
 def _vote(comment_id, score):
 
     comment = Comment.query.get_or_404(comment_id)
-    comment.permissions.test(403)
+    comment.permissions.vote.test(403)
     
     comment.score += score
     comment.author.karma += score