Updated History.md and removed a couple remaining methods using the old signature

This commit is contained in:
James Reid-Smith
2015-04-27 15:45:44 +00:00
parent 448766b0c4
commit 4592afcc8b
4 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ module Liquid
# This will parse the template with a LocalFileSystem implementation rooted at 'template_path'.
class BlankFileSystem
# Called by Liquid to retrieve a template file
def read_template_file(template_path, context)
def read_template_file(template_path)
raise FileSystemError, "This liquid context does not allow includes."
end
end
@@ -49,7 +49,7 @@ module Liquid
@pattern = pattern
end
def read_template_file(template_path, context)
def read_template_file(template_path)
full_path = full_path(template_path)
raise FileSystemError, "No such template '#{template_path}'" unless File.exists?(full_path)