summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/models/note.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/note.rb b/app/models/note.rb
index 1ca86b2592f..3d5b663c99f 100644
--- a/app/models/note.rb
+++ b/app/models/note.rb
@@ -347,11 +347,11 @@ class Note < ActiveRecord::Base
end
def downvote?
- false
+ is_award && note == "thumbsdown"
end
def upvote?
- false
+ is_award && note == "thumbsup"
end
def editable?