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:
parent
d34334ecbe
commit
2e4d43364a
3 changed files with 0 additions and 17 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue