Move emoji auto-complete helper to ApplicationHelper
This commit is contained in:
parent
682f62fd4a
commit
eb92813757
3 changed files with 6 additions and 16 deletions
|
@ -14,10 +14,4 @@ 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