Instead of .js.handlebars use .hbs for handlebars templates

This commit is contained in:
Robin Ward
2014-09-26 15:23:15 -04:00
parent d26227ae3d
commit d0fb8bbcfc
187 changed files with 14 additions and 11 deletions

View File

@ -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