summaryrefslogtreecommitdiff
path: root/app/helpers/issues_helper.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-06-09 16:24:54 -0500
committerFatih Acet <acetfatih@gmail.com>2017-07-21 22:35:24 +0300
commit76c3d2d434d3c550c3de912abc0a5b1dc1455368 (patch)
treecaf45606608993ccd660c8cab45ef387fbf9756e /app/helpers/issues_helper.rb
parentcb2287df0ad9396d1f075bde1c4f6de481d908e6 (diff)
downloadgitlab-ce-76c3d2d434d3c550c3de912abc0a5b1dc1455368.tar.gz
Add full JSON endpoints for issue notes and discussions
Diffstat (limited to 'app/helpers/issues_helper.rb')
-rw-r--r--app/helpers/issues_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 42b6cfdf02f..034b4451b56 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -119,7 +119,7 @@ module IssuesHelper
end
def awards_sort(awards)
- awards.sort_by do |award, notes|
+ awards.sort_by do |award, award_emojis|
if award == "thumbsup"
0
elsif award == "thumbsdown"