Skip to content

Commit f2bd957

Browse files
committed
fix a runtime error
1 parent 4b3736a commit f2bd957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/typescript/rails/template.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def prepare
2222
end
2323

2424
def evaluate(scope, locals, &block)
25-
@output ||= ::Typescript::Rails::Compiler.compile(file, source)
25+
@output ||= ::Typescript::Rails::Compiler.compile(file, data)
2626
end
2727

2828
# @override

0 commit comments

Comments
 (0)