Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
f396972827c1
Commit
d3807328
authored
Dec 29, 2015
by
Valery Sizov
Browse files
note votes methids implementation
parent
932dc71fd4c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/models/note.rb
View file @
f3969728
...
...
@@ -347,11 +347,11 @@ def system?
end
def
downvote?
false
is_award
&&
note
==
"thumbsdown"
end
def
upvote?
false
is_award
&&
note
==
"thumbsup"
end
def
editable?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment