Move emoji auto-complete helper to ApplicationHelper

This commit is contained in:
Riyad Preukschas 2012-10-10 00:53:42 +02:00
parent 682f62fd4a
commit eb92813757
3 changed files with 6 additions and 16 deletions

View file

@ -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