use the EMOJI_VERSION constant

This commit is contained in:
Joffrey JAFFEUX 2017-07-21 19:04:43 +02:00
parent e1ce47a901
commit 54e0075a3e
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class Emoji
end
def self.url_for(name)
"#{Discourse.base_uri}/images/emoji/#{SiteSetting.emoji_set}/#{name}.png?v=5"
"#{Discourse.base_uri}/images/emoji/#{SiteSetting.emoji_set}/#{name}.png?v=#{EMOJI_VERSION}"
end
def self.cache_key(name)