diff options
author | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-10-09 16:47:42 +0400 |
---|---|---|
committer | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-10-09 16:47:42 +0400 |
commit | bbd92e57cb5c764baf5fbdb9ccb1a1cd140eeca9 (patch) | |
tree | 53dd3987bd736483cb3f7fc02a713e7c4d038515 /app/helpers/notes_helper.rb | |
parent | a54a90188b03730c998b7e5a91c85611dfe5e311 (diff) |
Add emoji_for_completion helper
Diffstat (limited to 'app/helpers/notes_helper.rb')
-rw-r--r-- | app/helpers/notes_helper.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/helpers/notes_helper.rb b/app/helpers/notes_helper.rb index 65389e383d9..9f75fc42d61 100644 --- a/app/helpers/notes_helper.rb +++ b/app/helpers/notes_helper.rb @@ -14,4 +14,10 @@ module NotesHelper "vote downvote" end end + + def emoji_for_completion + # should be an array of strings + # so to_s can be called, because it is sufficient and to_json is too slow + Emoji::NAMES + end end |