mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Ensure <script> handlebars templates are namespaced correctly (#18178)
This regressed in 7e74dd0afe
This commit is contained in:
@@ -92,7 +92,7 @@ class ThemeField < ActiveRecord::Base
|
||||
if is_raw
|
||||
js_compiler.append_raw_template(name, hbs_template)
|
||||
else
|
||||
js_compiler.append_ember_template(name, hbs_template)
|
||||
js_compiler.append_ember_template("discourse/templates/#{name}", hbs_template)
|
||||
end
|
||||
rescue ThemeJavascriptCompiler::CompileError => ex
|
||||
errors << ex.message
|
||||
|
||||
Reference in New Issue
Block a user