Commit d3807328 authored by Valery Sizov's avatar Valery Sizov

note votes methids implementation

parent 83d42c15
...@@ -347,11 +347,11 @@ class Note < ActiveRecord::Base ...@@ -347,11 +347,11 @@ class Note < ActiveRecord::Base
end end
def downvote? def downvote?
false is_award && note == "thumbsdown"
end end
def upvote? def upvote?
false is_award && note == "thumbsup"
end end
def editable? def editable?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment