FIX: ensures emoji helper is working with custom emojis (#7843)

This commit is contained in:
Joffrey JAFFEUX
2019-07-03 09:23:40 +02:00
committed by GitHub
parent 0733ed3a2b
commit 9ee2c121c1
4 changed files with 19 additions and 3 deletions

View File

@ -19,6 +19,10 @@ class Plugin::CustomEmoji
emojis[name] = url
end
def self.unregister(name)
emojis.delete(name)
end
def self.translations
@@translations ||= {}
end