FIX: wizard emoji images on subfolder installs

This commit is contained in:
Neil Lalonde 2018-07-10 11:02:22 -04:00
parent b49c662aa4
commit f69b7deb80
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ class Wizard
EmojiSetSiteSetting.values.each do |set|
imgs = emoji.map do |e|
"<img src='/images/emoji/#{set[:value]}/#{e}.png'>"
"<img src='#{Discourse.base_uri}/images/emoji/#{set[:value]}/#{e}.png'>"
end
sets.add_choice(set[:value], label: I18n.t("js.#{set[:name]}"),