Skip to content

Commit

Permalink
Fix a bug that FileSystem can't create instance
Browse files Browse the repository at this point in the history
  • Loading branch information
makenowjust committed Jul 13, 2015
1 parent 70276cc commit 0f97690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crustache.cr
Expand Up @@ -18,7 +18,7 @@ module Crustache
self.parse(File.new(filename), filename, 1)
end

def self.render(tmpl : Tree::Template, model, fs = FileSystem.new) : String
def self.render(tmpl : Tree::Template, model, fs = HashFileSystem.new) : String
String.build do |io|
self.render tmpl, model, fs, io
end
Expand Down

0 comments on commit 0f97690

Please sign in to comment.