2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

Server side quote templates don't seem to be used?

This commit is contained in:
Robin Ward 2015-05-06 11:20:30 -04:00
parent d34334ecbe
commit 2e4d43364a
3 changed files with 0 additions and 17 deletions

View file

@ -114,13 +114,6 @@ module PrettyText
end
end
ctx['quoteTemplate'] = File.read("#{app_root}/app/assets/javascripts/discourse/templates/quote.hbs")
ctx['quoteEmailTemplate'] = File.read("#{app_root}/lib/assets/quote_email.hbs")
ctx.eval("HANDLEBARS_TEMPLATES = {
'quote': Handlebars.compile(quoteTemplate),
'quote_email': Handlebars.compile(quoteEmailTemplate),
};")
ctx
end