Skip to content

Commit 604f01e

Browse files
committed
add .js to default global_context_asset name
1 parent d3bd380 commit 604f01e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/haml_coffee_assets/configuration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def initialize
3838
self.selfCloseTags = 'meta,img,link,br,hr,input,area,param,col,base'
3939
self.context = 'window.HAML.context'
4040
self.templates_path = 'app/assets/javascripts/templates'
41-
self.global_context_asset = 'templates/context'
41+
self.global_context_asset = 'templates/context.js'
4242
self.name_filter = lambda { |n|
4343
parts = n.sub(/^templates\//, '').split('/')
4444
parts.last.sub!(/^_/, '')

0 commit comments

Comments
 (0)