use the EMOJI_VERSION constant
This commit is contained in:
parent
e1ce47a901
commit
54e0075a3e
|
@ -54,7 +54,7 @@ class Emoji
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.url_for(name)
|
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
|
end
|
||||||
|
|
||||||
def self.cache_key(name)
|
def self.cache_key(name)
|
||||||
|
|
Loading…
Reference in New Issue