mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Instead of .js.handlebars
use .hbs
for handlebars templates
This commit is contained in:
@ -256,6 +256,8 @@ class Plugin::Instance
|
||||
DiscoursePluginRegistry.stylesheets << asset
|
||||
end
|
||||
|
||||
elsif asset =~ /\.hbs$/
|
||||
DiscoursePluginRegistry.handlebars << asset
|
||||
elsif asset =~ /\.js\.handlebars$/
|
||||
DiscoursePluginRegistry.handlebars << asset
|
||||
end
|
||||
|
Reference in New Issue
Block a user