diff options
Diffstat (limited to 'app/views/votes/_votes_block.html.haml')
-rw-r--r-- | app/views/votes/_votes_block.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/votes/_votes_block.html.haml b/app/views/votes/_votes_block.html.haml index 8c660ba16cc..829f1664fba 100644 --- a/app/views/votes/_votes_block.html.haml +++ b/app/views/votes/_votes_block.html.haml @@ -16,14 +16,14 @@ %ul - emojis.each do |emoji| %li - = emoji_icon(emoji["name"], emoji["unicode"]) + = emoji_icon(emoji["name"], emoji["unicode"], emoji["aliases"]) - if current_user :coffeescript post_emoji_url = "#{award_toggle_namespace_project_notes_path(@project.namespace, @project)}" noteable_type = "#{votable.class.name.underscore}" noteable_id = "#{votable.id}" - aliases = #{AwardEmoji::ALIASES.to_json} + aliases = #{AwardEmoji.aliases.to_json} window.awards_handler = new AwardsHandler( post_emoji_url, |