diff options
author | dixpac <dino.onex@gmail.com> | 2016-07-03 17:04:22 +0300 |
---|---|---|
committer | dixpac <dino.onex@gmail.com> | 2016-07-14 09:51:00 +0300 |
commit | e21492b810bf9cd30f0e60836c056a72e830f427 (patch) | |
tree | af13b1f7482ce738408e396c649134c7fab974f0 /app/services | |
parent | 7968484dfa363537e6e7822ca1ec100bcd0ec4f8 (diff) |
Fix not normalized emoji paths
* There where path where +1 was stored as +1 not as thumbsup
that was causing problems such as showing thumbsup icon 2 time.
I fixed this to always normalize and store +1 as tumbsup
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/notes/create_service.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/services/notes/create_service.rb b/app/services/notes/create_service.rb index 02fca5c0ea3..18971bd0be3 100644 --- a/app/services/notes/create_service.rb +++ b/app/services/notes/create_service.rb @@ -8,7 +8,6 @@ module Notes if note.award_emoji? noteable = note.noteable todo_service.new_award_emoji(noteable, current_user) - return noteable.create_award_emoji(note.award_emoji_name, current_user) end |