Add emoji_for_completion helper
This commit is contained in:
parent
a54a90188b
commit
bbd92e57cb
2 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue