summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2016-06-09 03:27:52 +0300
committerFatih Acet <acetfatih@gmail.com>2016-06-09 03:37:40 +0300
commit92af60c2449cae5cbe2a8ef8ea65e973017053c2 (patch)
tree8c9e0fff46a85f454863bdb52ed2ce2c2f4db7d0 /app/views
parent52525dc4c28750a61697375900830589bb79eaa9 (diff)
downloadgitlab-ce-92af60c2449cae5cbe2a8ef8ea65e973017053c2.tar.gz
Move award_menu_url variable into gon object.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/award_emoji/_awards_block.html.haml3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/views/award_emoji/_awards_block.html.haml b/app/views/award_emoji/_awards_block.html.haml
index 84fd146a26b..02efcecc889 100644
--- a/app/views/award_emoji/_awards_block.html.haml
+++ b/app/views/award_emoji/_awards_block.html.haml
@@ -7,9 +7,6 @@
= awards.count
- if current_user
- :javascript
- gl.awardMenuUrl = "#{emojis_path}"
-
.award-menu-holder.js-award-holder
%button.btn.award-control.js-add-award{ type: "button" }
= icon('smile-o', class: "award-control-icon award-control-icon-normal")