diff options
author | Chantal Rollison <crollison@gitlab.com> | 2018-08-24 10:13:41 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-08-24 10:13:41 +0000 |
commit | 009c4f7fb892e8af09cc2489f015ea6c62411df6 (patch) | |
tree | 5cce8b07846ed39aa8bd00bd149a7999d0d7b85a /app/helpers | |
parent | f4d18201d2fd46f75612485f97dde157e8aca71e (diff) | |
download | gitlab-ce-009c4f7fb892e8af09cc2489f015ea6c62411df6.tar.gz |
Allows author to vote on their own issue
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/issues_helper.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 96dc7ae1185..5b27d1d9404 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -92,14 +92,6 @@ module IssuesHelper end end - def award_user_authored_class(award) - if award == 'thumbsdown' || award == 'thumbsup' - 'user-authored js-user-authored' - else - '' - end - end - def awards_sort(awards) awards.sort_by do |award, award_emojis| if award == "thumbsup" |