Make sure include tags are never blank

This commit is contained in:
Florian Weingarten
2013-07-02 13:57:27 -04:00
parent 40a37c3fb6
commit b53601100f
2 changed files with 17 additions and 0 deletions
+4
View File
@@ -38,6 +38,10 @@ module Liquid
def parse(tokens)
end
def blank?
false
end
def render(context)
partial = load_cached_partial(context)
variable = context[@variable_name || @template_name[1..-2]]