mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 19:13:39 +08:00
use the EMOJI_VERSION constant
This commit is contained in:
parent
e1ce47a901
commit
54e0075a3e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user